@UncleAlbie @urusan
Great suggestion, also including pushd/popd!

The $1 could also be replaced with "$@" (including quotation marks), to avoid problems with parameters with spaces. See here for more information:

"What is the difference between $* and $@?"

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.