-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases.sirius
34 lines (26 loc) · 1.17 KB
/
.bash_aliases.sirius
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Mes alias
echo $(hostname -s)" specific aliases"
# Box specifics quicken moves around fs
alias asa='cd /etc/apache2/site-available'
alias web='cd /data/workspacesAptana3'
# SSH Turbo connection
alias myssh='LD_PRELOAD="/usr/lib/libtsocks.so" ssh'
alias myscp='LD_PRELOAD="/usr/lib/libtsocks.so" scp'
# Hyper specifique
alias quotes='fortune /usr/share/games/fortunes/danstonchat' # depend de ~/Scripts/fortune_bashfr.sh
alias lars='clear; figlet pOwned; figlet \( X \) && spd-say "larsinay swapagay steplay"' # Lars special
#export JRE_LIB=/usr/lib/j2re1.5-sun/lib
export JAVA_HOME=/usr/lib/jvm/java-6-sun
# rip a file with handbrake and good options
rip() {
HandBrakeCLI -i /dev/dvd -o $HOME/tmp/$1.mp4 -L -2 -T -m -f mp4 -e x264 -b 4000 -B 192
}
# Si nous sommes en session enlightement, mettre les binaires dans le $PATH
#if [ -n "$GDMSESSION" ] && [ $GDMSESSION == 'enlightement' ]
#then
# export PATH=$PATH:/opt/e17/bin
#fi
cmdlinefu() {
echo -e "`curl -sL http://www.commandlinefu.com/commands/random/json|sed -re 's/.*,"command":"(.*)","summary":"([^"]+).*/\\x1b[1;32m\2\\n\\n\\x1b[1;33m\1\\x1b[0m/g'`\n"
}
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.28