From eda4284cc4ddf6ea774501c7e78795555fe66bee Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Tue, 26 Jul 2011 17:33:24 +0200 Subject: Add some funny stuff --- zsh/zshrc | 24 +++++++++--------------- 1 file 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 ~/ -- cgit v1.2.3