summaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2011-07-26 17:33:24 +0200
committerStefan Ritter <xeno@thehappy.de>2011-07-26 17:33:24 +0200
commiteda4284cc4ddf6ea774501c7e78795555fe66bee (patch)
treea3bec7300e960dd5c4dff473f93c010700c0f119 /zsh
parentf3830e83e01131ac11135d1e3040d28074cbf894 (diff)
Add some funny stuff
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc24
1 files changed, 9 insertions, 15 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 82030e3..fc17df0 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -8,6 +8,10 @@ zstyle ':completion:*:kill:*' force-list always
zmodload -a zsh/complist complist
+if [ -e /usr/share/zsh/plugins/zsh-syntax-highlight/zsh-syntax-highlighting.zsh ]; then
+ source /usr/share/zsh/plugins/zsh-syntax-highlight/zsh-syntax-highlighting.zsh
+fi
+
setopt nobeep
setopt autocd
setopt listpacked
@@ -36,16 +40,6 @@ HISTFILE=~/.zsh_history
autoload -U compinit; compinit
autoload zmv
-autoload -Uz vcs_info
-precmd() {
- psvar=()
- vcs_info
- [[ -n $vcs_info_msg_0_ ]] && psvar[1]="$vcs_info_msg_0_"
-
- if [ "$(quilt applied 2> /dev/null)" ]; then
- psvar[2]="(quilt)"
- fi
-}
alias c="clear"
alias ls="ls --color=auto"
@@ -140,10 +134,10 @@ vpn() {
sudo openvpn --config /etc/openvpn/$1
}
-case $TERM in
- rxvt*)
- precmd () {print -Pn "\e]0;%n@%m: %~\a"}
- ;;
-esac
+#case $TERM in
+# rxvt*)
+# precmd () {print -Pn "\e]0;%n@%m: %~\a"}
+# ;;
+#esac
cd ~/