2025-01-13 12:16:19 -06:00
|
|
|
# use vim-like control in shell
|
|
|
|
set -o vi
|
|
|
|
|
|
|
|
# env vars
|
2025-01-20 15:35:27 -06:00
|
|
|
export EDITOR='vim' # TODO: update to nvim once configured
|
2025-01-13 12:16:19 -06:00
|
|
|
export HOMEBOX=$HOME'/dbox'
|
|
|
|
export DEVDIR=$HOME'/dev'
|
|
|
|
|
|
|
|
# path updates
|
|
|
|
export PATH=$HOME/.local/bin:$HOME/.local/scripts:$PATH
|
|
|
|
export PATH=$PATH:/opt/homebrew/opt/ccache/libexec
|
|
|
|
|
|
|
|
# executable name overrides
|
2025-01-15 00:44:24 -06:00
|
|
|
alias ls='ls -F'
|
2025-01-20 15:35:27 -06:00
|
|
|
#alias vim='nvim'
|
2025-01-13 12:16:19 -06:00
|
|
|
|
|
|
|
# shortcuts for common commands
|
|
|
|
alias 3e='echo;echo;echo'
|
|
|
|
alias 12e='3e;3e;3e;3e'
|
|
|
|
alias cl='clear; '
|
|
|
|
alias cls='clear;ls'
|
|
|
|
|
|
|
|
# git stuff
|
|
|
|
alias gfo='git fetch origin'
|
|
|
|
alias gpo='git pull origin'
|
|
|
|
alias gfpo='git fetch origin; git pull origin'
|
|
|
|
|
|
|
|
# executable renames/paths
|
|
|
|
alias youtube-dl='youtube-dl --write-info-json'
|
|
|
|
|
|
|
|
# misc commands
|
|
|
|
alias pdt='ping -c 4 drinkingtea.net'
|
|
|
|
alias weather='curl wttr.in'
|
|
|
|
alias shrug='echo "¯\\_(ツ)_/¯"'
|
|
|
|
|
|
|
|
[[ -e $HOME/.profile ]] && source $HOME/.profile
|
|
|
|
|
|
|
|
# add machine-specific configs as appropriate
|
|
|
|
[[ -a $HOME/.config/zsh/.zshrc-life-system ]] \
|
|
|
|
&& source $HOME/.config/zsh/.zshrc-life-system
|
|
|
|
|
|
|
|
# TODO: refactor the below so that general dev is separate from rs specific stuff
|
|
|
|
[[ -a $HOME/.config/zsh/.zshrc-job-rs ]] \
|
|
|
|
&& source $HOME/.config/zsh/.zshrc-job-rs
|
|
|
|
alias lintjs='npx prettier --write'
|
|
|
|
export DEVKITARM=/opt/devkitpro/devkitARM
|
|
|
|
. /opt/homebrew/opt/asdf/libexec/asdf.sh # TODO: ensure not duplicated asdf logic
|