summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Færevaag <m@frv.ag>2017-11-10 08:10:33 +0900
committerRobby Russell <robby@planetargon.com>2017-11-09 15:10:33 -0800
commitdcb8101fdeded9aa4310d867f9c809c976a0f1cb (patch)
treee8a84a6555b6c5806ff9e4fa55e9acae78ff0660
parent7cea8475fbf8e1ba9e665e7740e35182c57bfb6f (diff)
downloadzsh-dcb8101fdeded9aa4310d867f9c809c976a0f1cb.tar.gz
zsh-dcb8101fdeded9aa4310d867f9c809c976a0f1cb.tar.bz2
zsh-dcb8101fdeded9aa4310d867f9c809c976a0f1cb.zip
[wd] Fix update of wd plugin to v0.4.6 (#6407)
-rw-r--r--plugins/wd/_wd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wd/_wd.sh b/plugins/wd/_wd.sh
index d5419d629..4354a71f4 100644
--- a/plugins/wd/_wd.sh
+++ b/plugins/wd/_wd.sh
@@ -24,7 +24,7 @@ function _wd() {
target_path=${arr[2]}
# replace ~ from path to fix completion (#17)
- target_path=${path/#\~/$HOME}
+ target_path=${target_path/#\~/$HOME}
points[$name]=$target_path
done < $CONFIG