jethrokuan / z

Pure-fish z directory jumping
MIT License
1.26k stars 44 forks source link

Match shortest? #99

Open micouy opened 3 years ago

micouy commented 3 years ago

Is there an option (or another tool) to go to the shortest match? Say I have foo/bar/baz and baz.

I want z baz to go to baz by default and z foo baz or z b b to go foo/bar/baz. So that it just matches parts of the path in sequence and allows me to be more detailed if I need to.