madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

load aliases.d and dirhashes.d later
authormartin f. krafft <madduck@madduck.net>
Wed, 17 May 2017 13:05:47 +0000 (15:05 +0200)
committermartin f. krafft <madduck@madduck.net>
Wed, 17 May 2017 13:05:47 +0000 (15:05 +0200)
.zsh/zshrc/82-load_alias-d [moved from .zsh/zshrc/00-load_alias-d with 92% similarity]
.zsh/zshrc/82-load_dirhashes-d [moved from .zsh/zshrc/00-load_dirhashes-d with 100% similarity]

similarity index 92%
rename from .zsh/zshrc/00-load_alias-d
rename to .zsh/zshrc/82-load_alias-d
index d2683e783581b72c3c62186a2b6c403b25810fb1..62e6e39f7df43e0063716bef271fc616148c1983 100644 (file)
@@ -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