pushd "$dirname" &>/dev/null
echo "[$(pwd)]"
# pass the current directory plus the remaining parameters from function invocation.
pushd "$dirname" &>/dev/null
echo "[$(pwd)]"
# pass the current directory plus the remaining parameters from function invocation.