Refactor zsh configs
This commit is contained in:
27
src_files/.config/zsh/.zsh-job-rs
Normal file
27
src_files/.config/zsh/.zsh-job-rs
Normal file
@ -0,0 +1,27 @@
|
||||
# TODO: refactor this file; separate general dev from rs specific
|
||||
# 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 $HOME_BOX; $EDITOR .current-journal"
|
||||
alias kra="cd $HOME_BOX/process/kra; open .current_kra"
|
||||
alias gll="cd $DIR_DEV/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'
|
||||
|
Reference in New Issue
Block a user