diff --git a/commands/env.cmd b/commands/env.cmd index 9df78d52..7f464e1a 100644 --- a/commands/env.cmd +++ b/commands/env.cmd @@ -5,6 +5,9 @@ WARDEN_ENV_PATH="$(locateEnvPath)" || exit $? loadEnvConfig "${WARDEN_ENV_PATH}" || exit $? assertDockerRunning +HOST_UID=$(id -u) +HOST_GID=$(id -g) + if (( ${#WARDEN_PARAMS[@]} == 0 )) || [[ "${WARDEN_PARAMS[0]}" == "help" ]]; then # shellcheck disable=SC2153 $WARDEN_BIN env --help || exit $? && exit $?