update src

This commit is contained in:
Stephen Parkinson
2021-10-06 23:10:33 -07:00
parent a99d46b940
commit 52070bdaca
3 changed files with 14 additions and 17 deletions

21
zshrc
View File

@@ -19,7 +19,6 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
plugins=(
colored-man-pages
iterm2
zsh_reload
zsh-navigation-tools
shrink-path
)
@@ -31,14 +30,7 @@ if [ "$OSTYPE" = "Darwin" ]; then
source ~/.iterm2_shell_integration.zsh
fi
export EDITOR="/usr/local/bin/vim"
shownetinfo
if [ "$OSTYPE" = "Linux" ]; then
echo ""
elif [ "$OSTYPE" = "Darwin" ]; then
ssh-add -K ~/.ssh/id_rsa 2>/dev/null
batt
fi
export EDITOR="/opt/homebrew/bin/vim"
# configure homebrew for arm and x86
if [ "$OSTYPE" = "Darwin" ]; then
ARCH=$(uname -m)
@@ -46,11 +38,20 @@ if [ "$OSTYPE" = "Darwin" ]; then
export PATH="/opt/homebrew/bin:$PATH"
export PATH="/opt/homebrew/sbin:$PATH"
export PATH="/Users/smparkin/Library/Python/3.9/bin:$PATH"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
export PATH="/Users/smparkin/Library/Python/2.7/bin:$PATH"
elif [ "$ARCH" = "x86_64" ]; then
export PATH="/usr/local/bin:$PATH"
export PATH="/usr/local/sbin:$PATH"
fi
fi
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
export DEVKITPRO="/opt/devkitpro"
export DEVKITARM="/opt/devkitpro/devkitARM"
shownetinfo
if [ "$OSTYPE" = "Linux" ]; then
echo ""
elif [ "$OSTYPE" = "Darwin" ]; then
ssh-add -K ~/.ssh/id_rsa 2>/dev/null
batt
fi