Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature request: -c option (restrict matches to subdirectories of the current directory) #110

Open
peey opened this issue Apr 20, 2022 · 1 comment

Comments

@peey
Copy link

peey commented Apr 20, 2022

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

@tennox
Copy link

tennox commented Jul 14, 2022

👍
Using alias zc could also work, like in autojump

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants