From dcb8101fdeded9aa4310d867f9c809c976a0f1cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20F=C3=A6revaag?= Date: Fri, 10 Nov 2017 08:10:33 +0900 Subject: [PATCH] [wd] Fix update of wd plugin to v0.4.6 (#6407) --- plugins/wd/_wd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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