From 15dd77055e2b4a931d50ad3e05f823893aac66af Mon Sep 17 00:00:00 2001 From: Salomon Smeke Date: Mon, 2 Sep 2019 06:40:39 -0500 Subject: [PATCH] wd: point to the correct directory even if installed with antibody (#8116) --- plugins/wd/wd.plugin.zsh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/wd/wd.plugin.zsh b/plugins/wd/wd.plugin.zsh index c0559293d..4b7cd3c19 100644 --- a/plugins/wd/wd.plugin.zsh +++ b/plugins/wd/wd.plugin.zsh @@ -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' }"