[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]} target_path=${arr[2]}
# replace ~ from path to fix completion (#17) # replace ~ from path to fix completion (#17)
target_path=${path/#\~/$HOME} target_path=${target_path/#\~/$HOME}
points[$name]=$target_path points[$name]=$target_path
done < $CONFIG done < $CONFIG