Better handling of installed git

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

View File

@ -10,8 +10,11 @@ alias _find=`which find`
alias _top=`which top` alias _top=`which top`
alias _ps="/bin/ps" alias _ps="/bin/ps"
alias _dig=`which dig` alias _dig=`which dig`
alias _git=`which git`
alias _readlink=`which readlink` 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 # Aliases
alias cat='bat ' alias cat='bat '

View File

@ -29,8 +29,8 @@ sudo chmod -R 755 /usr/local/share/zsh/site-functions
# Install tools # Install tools
BREW_TOOLS=( BREW_TOOLS=(
argocd bandwhich bat danielfoehrkn/switch/switch derailed/k9s/k9s dive doggo duf dust exa fd fzf git argocd bandwhich bat danielfoehrkn/switch/switch derailed/k9s/k9s
git-delta go helm htop jq kind krew dive doggo duf dust exa fd fzf git-delta go helm htop jq kind krew
kubectl kubectx kustomize node procs progress ripgrep rs/tap/curlie rust starship kubectl kubectx kustomize node procs progress ripgrep rs/tap/curlie rust starship
tektoncd/tools/tektoncd-cli tldr tailscale yq hashicorp/tap/vault tektoncd/tools/tektoncd-cli tldr tailscale yq hashicorp/tap/vault
tabby vale lastpass-cli jless macchina tz vmware-tanzu/carvel/kapp viddy tabby vale lastpass-cli jless macchina tz vmware-tanzu/carvel/kapp viddy