wd: point to the correct directory even if installed with antibody (#8116)

This commit is contained in:
Salomon Smeke 2019-09-02 06:40:39 -05:00 committed by Marc Cornellà
parent a331063a04
commit 15dd77055e
1 changed files with 1 additions and 5 deletions

View File

@ -1,11 +1,7 @@
#!/bin/zsh
# WARP DIRECTORY
# ==============
# oh-my-zsh plugin
#
# @github.com/mfaerevaag/wd
wd() {
. $ZSH/plugins/wd/wd.sh
}
eval "wd() { source '${0:A:h}/wd.sh' }"