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

shell: added shell helpers for pushd/popd #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbadia
Copy link
Contributor

@sbadia sbadia commented Aug 1, 2019

No description provided.

@@ -468,3 +468,11 @@ function zimbraCreateDataFolder() {

execZimbraCmd cmd | hideReturnedId
}

function shellQuietPopd() {
command popd > /dev/null
Copy link
Owner

@jvaubourg jvaubourg Aug 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know why it would be better to use command in front of popd/pushd rather than to use directly popd/pushd?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jvaubourg
It's only in order to run a shell command ignoring any shell functions (like alias, …)

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