[wd] Update wd plugin to latest (#6383)

* Update wd plugin to v0.4.5

* [wd] Update wd plugin to v0.4.6
This commit is contained in:
Markus Færevaag authored and Robby Russell committed 2017-11-07 07:40:24 -08:00
1 parent 9edb3fceba
commit 46062e25cc
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -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=(