Files
box-setup/src_files/.config/zsh/zsh-general-dev

24 lines
713 B
Plaintext

# set env vars, path updates, etc
[[ -a $HOME/.local-box-vars ]] \
&& source $HOME/.local-box-vars \
&& . /usr/local/opt/asdf/libexec/asdf.sh
# login shortcuts
alias assume="source assume"
alias login-aws='aws sso login --profile'
alias login-aws-id-list="grep sso_account_id $HOME/.aws/config"
# git stuff
alias gfo='git fetch origin'
alias git-push-to-temp='git branch -D temp; git checkout -b temp; git push origin temp -uf; git checkout -'
alias gpdev='git-push-to-temp'
alias gpo='git pull origin'
# code/test/linter run and build commands
alias bel='bundle exec standardrb'
alias bet='bundle exec rspec'
alias lintjs='npx prettier --write'
alias prl='poetry run black'
alias prt='poetry run pytest'