From 46062e25cc4ebae21465cac4680ce284dcf475a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20F=C3=A6revaag?= Date: Wed, 8 Nov 2017 00:40:24 +0900 Subject: [PATCH] [wd] Update wd plugin to latest (#6383) * Update wd plugin to v0.4.5 * [wd] Update wd plugin to v0.4.6 --- plugins/wd/_wd.sh | 6 +++--- plugins/wd/wd.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/wd/_wd.sh b/plugins/wd/_wd.sh index 65fa1ddde..d5419d629 100644 --- a/plugins/wd/_wd.sh +++ b/plugins/wd/_wd.sh @@ -21,12 +21,12 @@ function _wd() { do arr=(${(s,:,)line}) name=${arr[1]} - path=${arr[2]} + target_path=${arr[2]} # replace ~ from path to fix completion (#17) - path=${path/#\~/$HOME} + target_path=${path/#\~/$HOME} - points[$name]=$path + points[$name]=$target_path done < $CONFIG commands=( diff --git a/plugins/wd/wd.sh b/plugins/wd/wd.sh index c330dd358..3d68583f1 100755 --- a/plugins/wd/wd.sh +++ b/plugins/wd/wd.sh @@ -8,7 +8,7 @@ # @github.com/mfaerevaag/wd # version -readonly WD_VERSION=0.4.4 +readonly WD_VERSION=0.4.6 # colors readonly WD_BLUE="\033[96m"