From 65ab7d9e33acfd099852e00f2bdd2a38fd880b9f Mon Sep 17 00:00:00 2001 From: Markus Faerevaag Date: Thu, 2 Nov 2017 06:14:43 +0900 Subject: [PATCH] Update wd plugin to v0.4.5 --- plugins/wd/_wd.sh | 6 +++--- plugins/wd/wd.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/wd/_wd.sh b/plugins/wd/_wd.sh index 65fa1ddde..d5419d629 100644 --- a/plugins/wd/_wd.sh +++ b/plugins/wd/_wd.sh @@ -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=( diff --git a/plugins/wd/wd.sh b/plugins/wd/wd.sh index c330dd358..abbfc95b2 100755 --- a/plugins/wd/wd.sh +++ b/plugins/wd/wd.sh @@ -8,7 +8,7 @@ # @github.com/mfaerevaag/wd # version -readonly WD_VERSION=0.4.4 +readonly WD_VERSION=0.4.5 # colors readonly WD_BLUE="\033[96m"