summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Færevaag <m@frv.ag>2017-11-08 00:40:24 +0900
committerRobby Russell <robby@planetargon.com>2017-11-07 07:40:24 -0800
commit46062e25cc4ebae21465cac4680ce284dcf475a7 (patch)
tree946792c813937475bd74ba8ea84f0ec5d9a5e291
parent9edb3fcebac250e12850530222a10a13d513f03f (diff)
downloadzsh-46062e25cc4ebae21465cac4680ce284dcf475a7.tar.gz
zsh-46062e25cc4ebae21465cac4680ce284dcf475a7.tar.bz2
zsh-46062e25cc4ebae21465cac4680ce284dcf475a7.zip
[wd] Update wd plugin to latest (#6383)
* Update wd plugin to v0.4.5 * [wd] Update wd plugin to v0.4.6
-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"