~›.zshrc· 32 lines
1234567891011121314151617181920212223242526272829303132
# ~/.zshrc — just the good parts # --- editor + shell --- export EDITOR=code export PAGER="less -FX" setopt HIST_IGNORE_DUPS HIST_IGNORE_SPACE INC_APPEND_HISTORY # --- node / pnpm --- export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh" alias n="node" alias ni="pnpm install" alias nd="pnpm dev" alias nb="pnpm build" alias nt="pnpm test" alias nx="pnpm dlx" # --- git + github --- alias g="git" alias gs="git status -sb" alias gl="git log --oneline --graph --decorate -20" alias gco="git checkout" alias gp="git push" # --- aws / devops --- alias awl="aws sso login" alias awsls="aws s3 ls" alias eb="eb" # elastic beanstalk cli # --- helpers --- mkcd() { mkdir -p "$1" && cd "$1"; } weather() { curl "wttr.in/${1:-pasay}?format=3"; } port() { lsof -nP -iTCP:$1 -sTCP:LISTEN; }