removing ryzom launcher alias and adding ryzom season change alias

This commit is contained in:
Rodolphe Breard 2014-01-06 12:36:15 +01:00
parent 5ec9f92b82
commit 138c322338

View file

@ -20,9 +20,7 @@ alias lock='xscreensaver-command --lock'
alias meteo='curl -s --user-agent "USER FUCKING AGENT" "http://thefuckingweather.com/?where=Paris" | grep "<p class=\"remark\">" | sed -r "s/.*>(.*)<.*/\1 OUTSIDE\!/g"' alias meteo='curl -s --user-agent "USER FUCKING AGENT" "http://thefuckingweather.com/?where=Paris" | grep "<p class=\"remark\">" | sed -r "s/.*>(.*)<.*/\1 OUTSIDE\!/g"'
if [ -d "$HOME/ryzom/client" ]; then 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")'
alias ryzom='cd $HOME/ryzom/client && ./ryzom_client'
fi
fliptable() { echo "(╯°□°)╯ ┻━┻"; } fliptable() { echo "(╯°□°)╯ ┻━┻"; }