skywind3000 / z.lua

:zap: A new cd command that helps you navigate faster by learning your habits.
MIT License
2.94k stars 137 forks source link

`z foo` takes me to `/foo/bar` instead of to `/foo` #172

Closed devkvlt closed 1 year ago

devkvlt commented 1 year ago

I guess this happens because I cded into /foo/bar more often, but is this normal behaviour? Is there a fix?

ilyagr commented 1 year ago

Try z foo$. z takes Lua regular expressions.

skywind3000 commented 1 year ago

use the enhanced mode.

devkvlt commented 1 year ago

Fixed. Thanks a lot.