[zsh] More m1 improvements
This commit is contained in:
@@ -4,7 +4,14 @@ export JAVA_HOME=`/usr/libexec/java_home`
|
||||
|
||||
# Set path to work with pycharm ...
|
||||
# [[ "$PATH" =~ /usr/local/bin ]] || export PATH=$PATH:/usr/local/bin
|
||||
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH:/usr/local/sbin"
|
||||
|
||||
ARCH=`uname -m`
|
||||
if [[ $ARCH == "arm64" ]]; then
|
||||
HOMEBREWPREFIX="/opt/homebrew"
|
||||
else
|
||||
HOMEBREWPREFIX="/usr/local"
|
||||
fi
|
||||
export PATH="$HOMEBREWPREFIX/opt/coreutils/libexec/gnubin:$HOME/.local/bin:$HOMEBREWPREFIX/bin:$PATH:$HOMEBREWPREFIX/sbin"
|
||||
|
||||
# test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user