z icon indicating copy to clipboard operation
z copied to clipboard

Add verbose flag

Open stonematt opened this issue 2 years ago • 1 comments

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 $

stonematt avatar Aug 02 '22 20:08 stonematt

@rupa Do you track PRs from the community? Can we pull this in?

stonematt avatar Dec 12 '23 15:12 stonematt