diff --git a/.bashrc b/.bashrc index 96d3f2d..234c7a4 100644 --- a/.bashrc +++ b/.bashrc @@ -47,6 +47,8 @@ ex () ### ALIASES # Some are inspired from https://gitlab.com/dwt1/dotfiles/-/blob/master/.bashrc +alias sudo='sudo ' + # navigation alias ..='cd ..' alias ...='cd ../.' @@ -63,7 +65,7 @@ alias upgrade='pacman -Suy && yay -Suy' # git alias add='git add' alias branch='git branch' -alias commit='git commit' +alias commit='git commit -am' alias clone='git clone' alias pull='git pull' alias push='git push' @@ -71,4 +73,8 @@ alias merge='git merge' alias status='git status' alias rebase='git rebase' +# ssh +alias hindley='ssh hindley.adh.auro.re' +alias proxy_hindley='ssh -D 8080 hindley.adh.auro.re' + alias config='/usr/bin/git --git-dir=/home/me/.cfg/ --work-tree=/home/me' diff --git a/.ssh/config b/.ssh/config new file mode 100644 index 0000000..a8b16fe --- /dev/null +++ b/.ssh/config @@ -0,0 +1,14 @@ +AddKeysToAgent confirm + +Host hindley.adh.auro.re + User jmmineau + +Host azerty.fil.sand.auro.re + User jmmineau + +Host 10.128.0.* *.adm.auro.re + ProxyJump passerelle.auro.re + User histausse + +Host *.auro.re + User histausse