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

View File

@@ -6,21 +6,16 @@ alias gp='git push'
alias gs='git status' alias gs='git status'
# ls # ls
alias lsd="ls -d"
alias ll='ls -alh' alias ll='ls -alh'
# System Utils # System Utils
alias brewup='cl; brew update; brew upgrade; brew upgrade --cask; brew cleanup -s; brew doctor --verbose | grep -A 1 --color=never "Homebrew Version"' alias brewup='cl; brew update; brew upgrade; brew upgrade --cask; brew cleanup -s; brew doctor --verbose | grep -A 1 --color=never "Homebrew Version"'
alias cl='clear' alias cl='clear'
alias sleep="open /System/Library/CoreServices/ScreenSaverEngine.app"
alias ta="tmux a -t" alias ta="tmux a -t"
alias tn="tmux new-session -s" alias tn="tmux new-session -s"
alias gcc="gcc -g" alias gcc="gcc -g"
alias hora='date "+%H:%M:%S"'
alias wthr='curl wttr.in/san_luis_obispo' alias wthr='curl wttr.in/san_luis_obispo'
alias nf='cl; neofetch; shownetinfo && batt' alias nf='cl; neofetch; shownetinfo && batt'
alias servers='python3 /Users/smparkin/Development/server_stats/servers.py' alias servers='python3 /Users/smparkin/Development/server_stats/servers.py'
alias hekate='python3 /Users/smparkin/Development/fusee-launcher/fusee-launcher.py /Users/smparkin/Development/fusee-launcher/hekate/hekate.bin' alias hekate='python3 /Users/smparkin/Development/fusee-launcher/fusee-launcher.py /Users/smparkin/Development/fusee-launcher/hekate/hekate.bin'
alias src='omz reload'
# School
alias 305='cd /Users/smparkin/Library/Mobile\ Documents/com\~apple\~CloudDocs/CalPoly/2020-21/Spring21/CSC305'

View File

@@ -44,3 +44,4 @@ launch.json
settings.json settings.json
sftp.json sftp.json
.coverage .coverage
secrets

21
zshrc
View File

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