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

This commit is contained in:
Salomon Smeke authored and Marc Cornellà committed 2019-09-02 13:40:39 +02:00
1 parent a331063a04
commit 15dd77055e
1 file changed
+1 -5
+1 -5
View File
@@ -1,11 +1,7 @@
#!/bin/zsh
# WARP DIRECTORY # WARP DIRECTORY
# ============== # ==============
# oh-my-zsh plugin # oh-my-zsh plugin
# #
# @github.com/mfaerevaag/wd # @github.com/mfaerevaag/wd
wd() { eval "wd() { source '${0:A:h}/wd.sh' }"
. $ZSH/plugins/wd/wd.sh
}