mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
Update wd plugin to v0.4.5
This commit is contained in:
parent
4cb730773b
commit
65ab7d9e33
2 changed files with 4 additions and 4 deletions
|
|
@ -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=(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue