mirror of
https://github.com/gaschz/dotfiles.git
synced 2025-03-01 14:22:33 +01:00
fix: whonix uwt git command not found
This commit is contained in:
parent
07c7d1ed95
commit
076ea43eaf
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user