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

Silence popd #18

Merged
merged 1 commit into from
Jan 19, 2021
Merged

Silence popd #18

merged 1 commit into from
Jan 19, 2021

Conversation

PaulDance
Copy link
Contributor

There seems to be a small issue: sometimes the directory stack is empty, so popd spits out something in the likes of: upgrade_oh_my_zsh_custom:popd:16: directory stack empty. I don't think this is a bug, so this PR suppresses these.

Cheers,
Paul.

Redirect all output streams to /dev/null in order to suppress error
messages when the directory stack is empty.

Signed-off-by: Paul Mabileau <[email protected]>
@PaulDance
Copy link
Contributor Author

@tamcore?

@tamcore tamcore merged commit 2e6a22b into tamcore:master Jan 19, 2021
@PaulDance
Copy link
Contributor Author

❤️

@PaulDance PaulDance deleted the silence-popd branch January 19, 2021 16:11
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.

2 participants