X-Git-Url: http://gitweb.pimeys.fr/?p=config-20-100.git;a=blobdiff_plain;f=.bash_aliases;h=d3ef170da7ed3905f5ca689b36ddae7df9b6cbbd;hp=f23980cc21db5702fb9e320a522b03384430af46;hb=760346882ebd26fcfc4192bebb1c8adf5f6221b8;hpb=1687e7ed006b07852a0e5785c26a21ac7cb71608 diff --git a/.bash_aliases b/.bash_aliases index f23980c..d3ef170 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -47,7 +47,8 @@ alias LS='LS -e' alias sshadd='ssh-add -t 1800' #~# # Tunnels (pour les membres actifs) -#~# alias sshimprimante="echo -e 'Port : 2222\nRappel : http://localhost:2222';ssh -L 2222:imprimante.adm.crans.org:80 vo" +#~# alias sshimprimante="echo -e 'Port : 2222\nRappel : https://localhost:2222';ssh -L 2222:imprimante.adm.crans.org:443 vo" +#~# alias sshcups="echo -e 'Port : 3333\nRappel : http://localhost:3333';ssh -L 3333:o2.adm.crans.org:631 vo" #~# alias sshbabar="echo -e 'Port : 3333\nRappel : http://localhost:3333/backuppc';ssh -L 3333:babar.adm.crans.org:80 vo" @@ -70,11 +71,11 @@ alias sshadd='ssh-add -t 1800' #~# # Permet d'aliaser les commandes dans lesquelles on pipe usuellement #~# # pour qu'elle marche aussi quand elles sont précédées d'une espace insécable. #~# -#~# for commande in grep egrep fgrep wc tail head less sed awk xargs sort uniq +#~# for commande in grep egrep fgrep wc tail head less sed awk xargs sort uniq sponge #~# do #~# alias  $commande=$commande #~# done - +#~# unset commande # +--------------------------------------+ # | Gestion de variables d'environnement | @@ -100,7 +101,14 @@ alias sshadd='ssh-add -t 1800' #~# # Pour que mtr n'utilise pas l'interface graphique #~# alias mtr='mtr -t' +#~# # Pour que les semaines de cal commencent le Lundi +#~# alias cal='ncal -bM' +#~# # Hack pour déclencher les hooks sur un dépôt bare git +#~# # (genre git-update-server-info et/ou trigger KGB) +#~# # en faisant un truc bidon et transparent pour l'historique +#~# # (à savoir créer une branche et la supprimer) +#~# alias shakegit='git checkout -b shakegitbranch && git push origin shakegitbranch && git checkout master && git branch -d shakegitbranch && git push origin :shakegitbranch' # +--------+ # | Divers |