]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
zsh-autoenv usage
[dotfiles.git] / zsh / .zshrc
index 7a8164246d6bcbe571e7dc24ad85b34a8d16dc3c..0a18bb0288764271526a46dede629a7c5165c7a0 100644 (file)
@@ -165,10 +165,6 @@ alias arr="mutt -f \=arbeit -e 'source ~/.mutt/accounts/stcnet.ru'"
 bindkey -s "\eOP" " 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,15 @@ cf() {
     [[ -z $dir ]] || cd $dir
 }
 # }}}
+
+# Named directories {{{
+while read w ; do
+    w=(${(s/=/)w})
+    hash -d ${w[1]}=${~${w[2]}}
+done < ~/.zhashd
+# }}}
+
+# autoenv {{{
+export AUTOENV_AUTH_FILE=~/.zautoenv-auth
+. ~/work/zsh-autoenv/autoenv.zsh
+# }}}