23 lines
717 B
Plaintext
23 lines
717 B
Plaintext
# set env vars, path updates, etc
|
|
[[ -a $HOME/.local-box-vars ]] && source $HOME/.local-box-vars
|
|
|
|
# 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'
|
|
git config --global user.email "$EMAIL_PERSONAL_DEV"
|
|
|
|
# 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'
|
|
|