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
Use case: if you'd normally do
z a b cthen you may also wish to doz -c a; z -c b; z -c cand expect to land in the same directory with both commands.Without
-c, if you just doz a; z b; z cthen you'll end up searching forbglobally instead of withina.Ref:
- coption in readme of https://github.com/rupa/zIt seems that currently
-cis used for "clean" operation according to--help