[ssh] Cleaning up shells and ssh configurablility when not at home
This commit is contained in:
16
bash/.aliases
Normal file
16
bash/.aliases
Normal file
@ -0,0 +1,16 @@
|
||||
alias dc="docker-compose $argv"
|
||||
alias dj="poetry run python manage.py $argv"
|
||||
alias sysu="systemctl --user $argv"
|
||||
alias fsync="find . -type f -name '*.sync-conflict*'"
|
||||
alias vi="vim $argv"
|
||||
alias dus="du -sh * | sort -h"
|
||||
alias rhea="ssh rhea.local"
|
||||
alias pandora="ssh pandora.unbl.ink"
|
||||
alias bastion="ssh bastion.unbl.ink"
|
||||
alias pull="git pull --rebase --autostash"
|
||||
alias push="git push"
|
||||
alias asso="aws sso login --profile $argv"
|
||||
alias aeks="aws eks update-kubeconfig --name surepreme-sandbox-k8s-use1 --profile $argv"
|
||||
alias bookpull="rsync --delete -avzichP root@rhea.local:/tank/books/ ~/.calibre/"
|
||||
alias bookpush="rsync --delete -avzichP ~/.calibre/ root@rhea.local:/tank/books/"
|
||||
alias chglg="git add ./changelog/ && git commit -m 'Add changelog' && git push"
|
||||
@ -3,6 +3,11 @@
|
||||
|
||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
|
||||
export GOPATH="$HOME/.go"
|
||||
export PATH=$HOME/.bin:$HOME/var/bin:/usr/local/bin:$PATH:$HOME/.go/bin
|
||||
|
||||
source "$HOME/.aliases"
|
||||
|
||||
### 15Five Functions
|
||||
|
||||
set-sts-env() {
|
||||
@ -46,5 +51,3 @@ set-deploy-env() {
|
||||
set-pg-env() {
|
||||
source /home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user