Skip to content

Add verbose flag#316

Open
stonematt wants to merge 2 commits intorupa:masterfrom
stonematt:Add-verbose-flag
Open

Add verbose flag#316
stonematt wants to merge 2 commits intorupa:masterfrom
stonematt:Add-verbose-flag

Conversation

@stonematt
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant