From: martin f. krafft Date: Wed, 17 May 2017 13:05:47 +0000 (+0200) Subject: load aliases.d and dirhashes.d later X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/6a5f3187cb8cc0d7d3463ff97dddd415642c95b9 load aliases.d and dirhashes.d later --- diff --git a/.zsh/zshrc/00-load_alias-d b/.zsh/zshrc/82-load_alias-d similarity index 92% rename from .zsh/zshrc/00-load_alias-d rename to .zsh/zshrc/82-load_alias-d index d2683e7..62e6e39 100644 --- a/.zsh/zshrc/00-load_alias-d +++ b/.zsh/zshrc/82-load_alias-d @@ -14,7 +14,7 @@ function make_alias { for l in ${(f)"$(<$1)"}; do case "$s/$l" in (*/\#*) continue;; - (/*) eval "alias $fn='${l//\$0/$fn}'"; s=s;; + (/*) eval "alias $fn='${l//\$0/$fn}'"; s=s; 0=$fn;; (s/(#b)(*)) eval "$match[1]";; esac done diff --git a/.zsh/zshrc/00-load_dirhashes-d b/.zsh/zshrc/82-load_dirhashes-d similarity index 100% rename from .zsh/zshrc/00-load_dirhashes-d rename to .zsh/zshrc/82-load_dirhashes-d