Prevent Mac from reodering path
This commit is contained in:
parent
5e6e338807
commit
dfa33e81e8
2 changed files with 6 additions and 3 deletions
3
Makefile
3
Makefile
|
@ -34,3 +34,6 @@ update-repo:
|
|||
clean:
|
||||
rm -f $$HOME/bin/,
|
||||
bash remove-symlinks
|
||||
|
||||
mac:
|
||||
sudo mv /etc/{zprofile,zprofile.old}
|
||||
|
|
|
@ -17,6 +17,9 @@ if [[ "$OSTYPE" == darwin* ]]; then
|
|||
export MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:";
|
||||
export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
|
||||
|
||||
[[ -d "$GNU_TOOLS_PATH" ]] && PATH="$GNU_TOOLS_PATH:$PATH"
|
||||
[[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH"
|
||||
|
||||
GO_DIR="/usr/local/opt/go/libexec"
|
||||
else
|
||||
GO_DIR="/usr/local/go/bin"
|
||||
|
@ -28,9 +31,6 @@ fi
|
|||
|
||||
[[ -d "$LOCAL_HOME_BIN_PATH" ]] && PATH="$LOCAL_HOME_BIN_PATH:$PATH"
|
||||
[[ -d "$PERSONAL_BIN_PATH" ]] && PATH="$PERSONAL_BIN_PATH:$PATH"
|
||||
|
||||
[[ -d "$GNU_TOOLS_PATH" ]] && PATH="$GNU_TOOLS_PATH:$PATH"
|
||||
[[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH"
|
||||
[[ -d "$PERSONAL_COMPLETIONS_PATH" ]] && fpath=($PERSONAL_COMPLETIONS_PATH $fpath)
|
||||
|
||||
# EDITOR
|
||||
|
|
Loading…
Reference in a new issue