Commit 6fef97bf by Eric Coissac

Switch to silent version of pushd and popd

parent 81203ec1
Pipeline #15 skipped
......@@ -36,7 +36,7 @@ if [[ -z "${LECALIB_UTIL_SH}" ]]; then
eval echo \$${1}
}
function include() {
function include() {
local MODULE=$(upper $1)
local LOADED_MODULE_VAR="LECALIB_${MODULE}_SH"
local LOADED_MODULE=$(indirect $LOADED_MODULE_VAR)
......@@ -63,5 +63,14 @@ if [[ -z "${LECALIB_UTIL_SH}" ]]; then
function onfroggy() {
[[ $(hostname | sed -E 's/^(....).*$/\1/') == "frog" ]]
}
function pushd () {
command pushd "$@" > /dev/null
}
function popd () {
command popd "$@" > /dev/null
}
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment