X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=zsh%2F.zshrc;h=45b63a6de76f8a8300b05f9f672c723e11c37885;hb=1de3d4b7a55b2628eeccb0dd704c554bf8aee63e;hp=d109213a429eecdf1dd30c2e5b4a7bf4b6b9ed2d;hpb=1e5770e6670f103db46d6d7dc1155e7f9fbe5cf1;p=dotfiles.git diff --git a/zsh/.zshrc b/zsh/.zshrc index d109213..45b63a6 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -84,7 +84,6 @@ alias -g M="| less" alias -g W="| wc -l | sed 's/ //g'" alias mc="mc --nomouse" alias sent="mutt -f =sent-\`date '+%y-%m'\`" -alias zc=~/bin/dc-wrapped.sh f() { # find . -name "*$1*" -print @@ -166,10 +165,6 @@ alias arr="mutt -f \=arbeit -e 'source ~/.mutt/accounts/stcnet.ru'" bindkey -s "OP" " inc\n" # F1 # }}} -# Named directories {{{ -. ~/.zhashd -# }}} - # Completion {{{ zstyle ":completion:*:functions" ignored-patterns "_*" zstyle ":completion:*" matcher-list "" 'm:{a-z\-}={A-Z\_}' 'r:|?=** m:{a-z\-}={A-Z\_}' @@ -218,3 +213,10 @@ cf() { [[ -z $dir ]] || cd $dir } # }}} + +# Named directories {{{ +while read w ; do + w=(${(s/=/)w}) + hash -d ${w[1]}=${~${w[2]}} +done < ~/.zhashd +# }}}