rupa / z

z - jump around
Do What The F*ck You Want To Public License
16.38k stars 1.17k forks source link

Suggestion: have foo/ match only directories ending with foo #303

Open AckslD opened 3 years ago

AckslD commented 3 years ago

I sometimes come across the situation when I know that I want to go to a folder called eg foo. Lets say I have for example the directories:

where /home/user/some/path/foo/foo1 is currently my most common directory matching foo, ie where z takes me if I do

z foo

However if I know that I actually want to go to a folder called foo, this could be specified by adding a / to the end of the pattern, ie:

z foo/

which should then take me to /home/user/some/path/foo instead.

This could also solve eg #296