z
z copied to clipboard
Add verbose flag
Add support for verbose flag (-v
) that will echo the directory after successful cd.
Often there are very similar folder names in history. I noticed that I often typed $ pwd
to verify I landed in the right place. With the -v
you can update the alias like this:
alias z='_z -v 2>&1'
and get this behavior:
(base) tmp $ z -v folder
/private/tmp/another_folder
(base) another_folder $ z -v a_folder
/private/tmp/a_folder
(base) a_folder $ z -v folder
/private/tmp/another_folder
(base) another_folder $
@rupa Do you track PRs from the community? Can we pull this in?