From: Jer Noble Date: Thu, 17 Jan 2013 16:15:36 +0000 (-0800) Subject: Zsh tweaks. X-Git-Url: http://id.pley.net/dotfiles.git/commitdiff_plain/569e076d6ef56543bf02b6beabb363d02b143525?ds=inline;hp=a971bbeba25ddc6b895b58ed3887ab5a506fad11 Zsh tweaks. --- diff --git a/zsh_login b/zsh_login index 80d35cf..032a58d 100644 --- a/zsh_login +++ b/zsh_login @@ -23,6 +23,8 @@ precmd() { setopt PROMPT_SUBST setopt INC_APPEND_HISTORY setopt SHARE_HISTORY +setopt extended_glob + PS1=$'\(zsh) %(?.%F{green}:-\)%f.%F{red}:-(%f) %(1v.%1v .)%n@%m:%(3~,.../,)%2~> ' PATH=~/bin:$PATH @@ -34,6 +36,8 @@ export MANPATH=~/man:$MANPATH export EDITOR=/usr/bin/vim export LSCOLORS=gxfxcxdxbxegedabagacad +zstyle ':completion:*' list-colors 'di=36;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:' + source ~/.dotfiles/zsh_aliases source ~/.dotfiles/zsh_webkit_login diff --git a/zsh_webkit_login b/zsh_webkit_login index 555e6d5..6dc4657 100644 --- a/zsh_webkit_login +++ b/zsh_webkit_login @@ -19,3 +19,5 @@ _webkit_dirs() { compadd $( for dir in ~/Projects/WebKit.*; do echo ${dir##*.}; _switchto() { _arguments '1:dir:_webkit_dirs' } compdef _switchto switchto + +switchto git