dcb8101fdeded9aa4310d867f9c809c976a0f1cb
- Author
- Markus Færevaag <m@frv.ag>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
[wd] Fix update of wd plugin to v0.4.6 (#6407)
Diff
1diff --git a/plugins/wd/_wd.sh b/plugins/wd/_wd.sh
2index d5419d6292c5aa28e971675d8f117d298a6300df..4354a71f4be441ed9d32222a7dd2ed752f251193 100644
3--- a/plugins/wd/_wd.sh
4+++ b/plugins/wd/_wd.sh
5@@ -24,7 +24,7 @@ function _wd() {
6 target_path=${arr[2]}
7
8 # replace ~ from path to fix completion (#17)
9- target_path=${path/#\~/$HOME}
10+ target_path=${target_path/#\~/$HOME}
11
12 points[$name]=$target_path
13 done < $CONFIG