Better handling of installed git

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2022-09-10 19:44:22 +01:00
parent 7dd94b20e5
commit 855c741b0b
2 changed files with 6 additions and 3 deletions

View File

@@ -10,8 +10,11 @@ alias _find=`which find`
alias _top=`which top`
alias _ps="/bin/ps"
alias _dig=`which dig`
alias _git=`which git`
alias _readlink=`which readlink`
alias _git=`which git`
if command -v $(brew --prefix)/bin/git &>/dev/null; then
alias _git=$(brew --prefix)/bin/git
fi
# Aliases
alias cat='bat '