mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Merge c5c2c97452 into 4fec0a46e7
This commit is contained in:
commit
c6c296403e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue