summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/wd/_wd.sh6
-rwxr-xr-xplugins/wd/wd.sh2
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"