From 6a5f3187cb8cc0d7d3463ff97dddd415642c95b9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 17 May 2017 15:05:47 +0200 Subject: [PATCH] load aliases.d and dirhashes.d later --- .zsh/zshrc/{00-load_alias-d => 82-load_alias-d} | 2 +- .zsh/zshrc/{00-load_dirhashes-d => 82-load_dirhashes-d} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename .zsh/zshrc/{00-load_alias-d => 82-load_alias-d} (92%) rename .zsh/zshrc/{00-load_dirhashes-d => 82-load_dirhashes-d} (100%) 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 -- 2.39.5