add paths for macOS
This commit is contained in:
parent
b0f1a83435
commit
2bf25062a6
@ -320,10 +320,7 @@ fi
|
|||||||
|
|
||||||
## paths ##
|
## paths ##
|
||||||
|
|
||||||
## package managers ##
|
## language version managers ##
|
||||||
|
|
||||||
# homebrew
|
|
||||||
[ -d "/opt/homebrew/bin" ] && appendpath "/opt/homebrew/bin"
|
|
||||||
|
|
||||||
# rbenv (ruby)
|
# rbenv (ruby)
|
||||||
src_rbenv(){
|
src_rbenv(){
|
||||||
@ -370,6 +367,15 @@ if command -v cargo > /dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
## macOS package managers ##
|
||||||
|
|
||||||
|
# homebrew
|
||||||
|
[ -d "/opt/homebrew/bin" ] && appendpath "/opt/homebrew/bin"
|
||||||
|
|
||||||
|
# python3 (macOS)
|
||||||
|
[ -d "$HOME/Library/Python/3.8/bin" ] && appendpath "$HOME/Library/Python/3.8/bin"
|
||||||
|
|
||||||
|
|
||||||
# local bins
|
# local bins
|
||||||
|
|
||||||
[ -d "$HOME/.local/bin" ] && appendpath "$HOME/.local/bin"
|
[ -d "$HOME/.local/bin" ] && appendpath "$HOME/.local/bin"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user