Add initial flake

This commit is contained in:
2024-11-13 17:27:49 -08:00
parent 6bb7446c54
commit ba80740931
4 changed files with 315 additions and 22 deletions

20
zshrc
View File

@@ -30,26 +30,9 @@ if [ "$OSTYPE" = "Darwin" ]; then
source ~/.iterm2_shell_integration.zsh
fi
# configure homebrew for arm and x86
if [ "$OSTYPE" = "Darwin" ]; then
ARCH=$(uname -m)
if [ "$ARCH" = "arm64" ]; then
export EDITOR="/opt/homebrew/bin/vim"
export PATH="/opt/homebrew/bin:$PATH"
export PATH="/opt/homebrew/sbin:$PATH"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
elif [ "$ARCH" = "x86_64" ]; then
export EDITOR="/usr/local/bin/vim"
export PATH="/usr/local/bin:$PATH"
export PATH="/usr/local/sbin:$PATH"
fi
export EDITOR="/usr/bin/vim"
fi
export PATH="/Users/smparkin/Library/Python/2.7/bin:$PATH"
export PATH="/Users/smparkin/Library/Python/3.9/bin:$PATH"
export PATH="/opt/devkitpro/pacman/bin:$PATH"
export DEVKITPRO="/opt/devkitpro"
export DEVKITARM="/opt/devkitpro/devkitARM"
export DEVKITPPC="/opt/devkitpro/devkitPPC"
shownetinfo
if [ "$OSTYPE" = "Linux" ]; then
@@ -63,3 +46,4 @@ elif [ "$OSTYPE" = "Darwin" ]; then
echo ""
fi
fi