summaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
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 ~/