X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=zsh%2F.zshrc;fp=zsh%2F.zshrc;h=45b63a6de76f8a8300b05f9f672c723e11c37885;hp=7a8164246d6bcbe571e7dc24ad85b34a8d16dc3c;hb=1de3d4b7a55b2628eeccb0dd704c554bf8aee63e;hpb=875beb2f124534aea79b9e9011777f64ffb00303 diff --git a/zsh/.zshrc b/zsh/.zshrc index 7a81642..45b63a6 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -165,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\_}' @@ -217,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 +# }}}