This commit is contained in:
Robert Bittle 2018-04-17 20:32:18 +00:00 committed by GitHub
commit c6c296403e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -280,7 +280,7 @@ wd_show()
wd_matches=()
# do a reverse lookup to check whether PWD is in $points
PWD="${PWD/$HOME/~}"
if [[ ${points[(r)$PWD]} == $PWD ]]
if [[ ${points[(r)${PWD/\~/\\~}]} == $PWD ]]
then
for name in ${(k)points}
do