skywind3000/z.lua

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

devkvlt opened this issue · 3 comments

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

Try z foo$. z takes Lua regular expressions.

use the enhanced mode.

Fixed. Thanks a lot.