]> gitweb.pimeys.fr Git - config-20-100.git/blobdiff - .bash_aliases
[aliases] Rebooteth0 reload aussi le module wifi
[config-20-100.git] / .bash_aliases
index 743844612a7762128e384a718a7707f18ec450a9..70ae41dd96be167d86dc919983eeb366b514029b 100644 (file)
@@ -50,7 +50,7 @@ alias sshadd='ssh-add -t 1800'
 
 # Tunnels (pour les membres actifs)
 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 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"
 
@@ -126,6 +126,9 @@ alias cal='ncal -bM'
 # (à 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'
 
+# Pour remplacer les tabs par des espaces sous nano
+alias nanotabs='nano -ET4'
+
 # +--------+
 # | Divers |
 # +--------+
@@ -156,7 +159,7 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
 alias tailprocmail='tail -f ~/.procmail/logs/procmail.log'
 
 # Pour réveiller la carte éthernet quand elle déconne
-alias rebooteth0='rmmod atl1c; modprobe atl1c'
+alias rebooteth0='rmmod atl1c; rmmod ath9k; modprobe atl1c; modprobe ath9k'
 
 
 # +------------+