[zsh] More m1 improvements

This commit is contained in:
Fabian Ising
2023-07-17 11:13:07 +02:00
parent 4e6224981e
commit dc6da63645
2 changed files with 8 additions and 10 deletions

View File

@@ -2,15 +2,6 @@
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
ARCH=`uname -m`
if [[ $ARCH == "arm64" ]]; then
PREFIX="/opt/homebrew"
else
PREFIX="/usr/local"
fi
export PATH="$HOME/.local/bin:$PREFIX/bin:$PATH"
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh