提交 46062e25 编写于 作者: M Markus Færevaag 提交者: Robby Russell

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

* Update wd plugin to v0.4.5

* [wd] Update wd plugin to v0.4.6
上级 9edb3fce
...@@ -21,12 +21,12 @@ function _wd() { ...@@ -21,12 +21,12 @@ function _wd() {
do do
arr=(${(s,:,)line}) arr=(${(s,:,)line})
name=${arr[1]} name=${arr[1]}
path=${arr[2]} target_path=${arr[2]}
# replace ~ from path to fix completion (#17) # replace ~ from path to fix completion (#17)
path=${path/#\~/$HOME} target_path=${path/#\~/$HOME}
points[$name]=$path points[$name]=$target_path
done < $CONFIG done < $CONFIG
commands=( commands=(
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# @github.com/mfaerevaag/wd # @github.com/mfaerevaag/wd
# version # version
readonly WD_VERSION=0.4.4 readonly WD_VERSION=0.4.6
# colors # colors
readonly WD_BLUE="\033[96m" readonly WD_BLUE="\033[96m"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册