z
z copied to clipboard
Feature request: `-c` option (restrict matches to subdirectories of the current directory)
Use case: if you'd normally do z a b c then you may also wish to do z -c a; z -c b; z -c c and expect to land in the same directory with both commands.
Without -c, if you just do z a; z b; z c then you'll end up searching for b globally instead of within a.
Ref: - c option in readme of https://github.com/rupa/z
It seems that currently -c is used for "clean" operation according to --help
:+1:
Using alias zc could also work, like in autojump