5 # Jump to custom directories in terminal
6 # because `cd` takes too long...
8 # @github.com/mfaerevaag/wd
10 # Handle $0 according to the standard:
11 # https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
12 0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
13 0="${${(M)0:#/*}:-$PWD/$0}"
15 eval "wd() { source '${0:A:h}/wd.sh' }"