summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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