27 lines
941 B
Plaintext
27 lines
941 B
Plaintext
|
# set env vars, path updates, etc
|
||
|
[[ -a $HOME/.rs-vars ]] \
|
||
|
&& source $HOME/.rs-vars \
|
||
|
&& export PATH=$PATH:$HOME/.rd/bin \
|
||
|
&& . /usr/local/opt/asdf/libexec/asdf.sh
|
||
|
|
||
|
# login shortcuts
|
||
|
alias assume="source assume"
|
||
|
alias login-bunk='aws sso login --profile'
|
||
|
alias login-bunk-id-list="grep sso_account_id $HOME/.aws/config"
|
||
|
alias login-pulumi-bunk='pulumi login '$PULUMI_LOGIN_TARGET'$(aws sts get-caller-identity --query Account --output text)'
|
||
|
|
||
|
# git stuff
|
||
|
alias git-push-to-develop='git branch -D develop; git checkout -b develop; git push origin develop -uf; git checkout -'
|
||
|
alias gpdev='git-push-to-develop'
|
||
|
|
||
|
# misc shortcuts
|
||
|
alias journal="cd $HOMEBOX; $EDITOR .current-journal"
|
||
|
alias kra="cd $HOMEBOX/process/kra; open .current_kra"
|
||
|
alias gll="cd $DEVDIR/git/lampo/gitlab"
|
||
|
alias bet='bundle exec rspec'
|
||
|
alias bel='bundle exec standardrb'
|
||
|
alias belr='bundle exec rubocop'
|
||
|
alias prt='poetry run pytest'
|
||
|
alias prl='poetry run black'
|
||
|
|