Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add verbose flag #316

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add verbose flag #316

wants to merge 2 commits into from

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