2013-03-23 14:48:31 +01:00
|
|
|
alias sudo='sudo '
|
|
|
|
|
2013-04-24 17:16:14 +02:00
|
|
|
if [ "$OS_TYPE" == "freebsd" ]; then
|
2013-04-24 16:50:40 +02:00
|
|
|
alias ls='ls -G'
|
2013-04-24 16:45:37 +02:00
|
|
|
else
|
|
|
|
alias ls='ls --color=auto'
|
2013-04-24 16:43:50 +02:00
|
|
|
fi
|
2013-03-23 14:48:31 +01:00
|
|
|
alias ll='ls -lih'
|
|
|
|
alias la='ls -A'
|
|
|
|
alias l='ls -lihA'
|
|
|
|
|
2014-06-30 09:37:02 +02:00
|
|
|
alias grep='grep -n --color=auto'
|
2013-03-23 14:48:31 +01:00
|
|
|
alias j='jobs'
|
|
|
|
alias ne='emacs'
|
|
|
|
alias df='df -h'
|
2013-10-16 14:15:27 +02:00
|
|
|
alias top='TERM=screen-256color htop'
|
2013-11-13 15:41:28 +01:00
|
|
|
alias weechat='TERM=screen-256color weechat'
|
2013-03-23 14:48:31 +01:00
|
|
|
|
|
|
|
alias lock='xscreensaver-command --lock'
|
2013-08-20 23:17:05 +02:00
|
|
|
|
|
|
|
alias meteo='curl -s --user-agent "USER FUCKING AGENT" "http://thefuckingweather.com/?where=Paris" | grep "<p class=\"remark\">" | sed -r "s/.*>(.*)<.*/\1 OUTSIDE\!/g"'
|
2013-11-18 19:26:45 +01:00
|
|
|
|
2014-01-06 12:36:15 +01:00
|
|
|
alias ryzom_season_change='date --date $(wget -q -O - "http://api.ryzom.com/time.php?format=xml" | sed "s/></>\n</g" | /bin/grep -e "day_of_season" -e "time_of_day" | sed "s/<day_of_season>/\(89-/" | sed "s/<time_of_day>/\(23-/g" | sed "s/<\/day_of_season>/\)\*72/" | sed "s/<\/time_of_day>/\)\*3/" | bc | tr "\n" "+" | sed "s/\+$/\n\"min\"\n/" | bc | tr -d "\n")'
|
2013-12-18 19:48:52 +01:00
|
|
|
|
2013-11-18 19:26:45 +01:00
|
|
|
fliptable() { echo "(╯°□°)╯ ┻━┻"; }
|