]> gitweb.pimeys.fr Git - config-20-100.git/blobdiff - .bash_aliases
Merge branch 'master' into perso
[config-20-100.git] / .bash_aliases
index 8ead57f11ce7fab67ed99c9fd545aff9dc58ab13..15b228076d66212996e9e945dd2224412630b50b 100644 (file)
@@ -49,7 +49,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:cups.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"
 alias sshomnomnom="echo -e 'Port : 3333\nRappel : http://localhost:3333/backuppc';ssh -L 3333:omnomnom.adm.crans.org:80 vo"
 
@@ -98,7 +99,7 @@ unset commande
 
 # Pour loader en mémoire la variable qui empêche less de breaker les lignes
 # très utile pour les sorties psql
-alias exportless="export LESS='-S'"
+alias exportless="export LESS='-SR'"
 
 
 # +-------+
@@ -119,6 +120,11 @@ 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 |