]> gitweb.pimeys.fr Git - config-20-100.git/blobdiff - .bash_aliases
[procmail] Tri des ML : nom-ml.domain.list*e*s.tld est géré aussi
[config-20-100.git] / .bash_aliases
index 743844612a7762128e384a718a7707f18ec450a9..7ec88c04fdb1c193d32cd310e9c638a0275d791c 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'
 
 
 # +------------+
@@ -181,3 +184,6 @@ alias tailftp='tail -n 100 -f /var/log/pure-ftpd/transfer.log | /home/vincent/sc
 
 # backup-manager
 alias uploadbackups='backup-manager --upload'
+
+# xclip fout pas dans le bon presse-papier par défaut
+alias xclip='xclip -selection clipboard'