1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

[wd] Fix update of wd plugin to v0.4.6 (#6407)

This commit is contained in:
Markus Færevaag 2017-11-10 08:10:33 +09:00 committed by Robby Russell
parent 7cea8475fb
commit dcb8101fde

View file

@ -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