diff --git a/files/sh/.config/sh/shrc b/files/sh/.config/sh/shrc index d48a68f..a9133e1 100644 --- a/files/sh/.config/sh/shrc +++ b/files/sh/.config/sh/shrc @@ -121,6 +121,10 @@ fi ## }}} ## {{{ Git if has git; then + ## Whonix UWT wrapper circumvents the command existence check. + if test -f /usr/share/whonix/marker; then + git -v >/dev/null 2>&1 || return + fi alias g="git" alias gcd='cd "$(git rev-parse --show-toplevel)"' ## Use git aliases with 'g' prefix.