chore(zsh): lower homebrew path priority

This commit is contained in:
Rob Watson 2024-09-23 08:32:39 +02:00
parent 453c272acf
commit e9005dff17
1 changed files with 7 additions and 7 deletions

14
zshrc
View File

@ -159,13 +159,6 @@ export KEYTIMEOUT=2
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# set PATHs (highest priority last) # set PATHs (highest priority last)
export PATH=$HOME/go/bin:$PATH
export PATH=$HOME/local/sbin:$PATH
export PATH=$HOME/local/bin:$PATH
export PATH=$HOME/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/script:$PATH
if [ "$(uname -s)" = "Darwin" ]; then if [ "$(uname -s)" = "Darwin" ]; then
if [ -d /opt/homebrew/bin ]; then if [ -d /opt/homebrew/bin ]; then
export PATH=/opt/homebrew/bin:$PATH export PATH=/opt/homebrew/bin:$PATH
@ -176,6 +169,13 @@ if [ "$(uname -s)" = "Darwin" ]; then
export PATH="/Applications/Postgres.app/Contents/Versions/16/bin:$PATH" export PATH="/Applications/Postgres.app/Contents/Versions/16/bin:$PATH"
fi fi
export PATH=$HOME/go/bin:$PATH
export PATH=$HOME/local/sbin:$PATH
export PATH=$HOME/local/bin:$PATH
export PATH=$HOME/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/script:$PATH
export VIMPLUGIN="$HOME/.vim/pack/git-plugins" export VIMPLUGIN="$HOME/.vim/pack/git-plugins"
# source local zshrc, if it exists (not: not in git) # source local zshrc, if it exists (not: not in git)