diff --git a/_home/dot_sz.shrc.d/23_sudo b/_home/dot_sz.shrc.d/23_sudo index c48ebe9..f6a10e0 100644 --- a/_home/dot_sz.shrc.d/23_sudo +++ b/_home/dot_sz.shrc.d/23_sudo @@ -2,7 +2,7 @@ function sudo() { local cli="$(command -v "${1}")" [[ -x "$cli" ]] || cli="${1}" - /usr/bin/sudo --preserve-env=PATH -- "$cli" "${@:2}" + /usr/bin/sudo --preserve-env=PATH,SHRC_D -- "$cli" "${@:2}" }