From 138c322338f951d7bfbb49774d520af98fb84b00 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Mon, 6 Jan 2014 12:36:15 +0100 Subject: [PATCH] removing ryzom launcher alias and adding ryzom season change alias --- .bash_aliases | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index 5a626ab..80362b2 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -20,9 +20,7 @@ alias lock='xscreensaver-command --lock' alias meteo='curl -s --user-agent "USER FUCKING AGENT" "http://thefuckingweather.com/?where=Paris" | grep "

" | sed -r "s/.*>(.*)<.*/\1 OUTSIDE\!/g"' -if [ -d "$HOME/ryzom/client" ]; then - alias ryzom='cd $HOME/ryzom/client && ./ryzom_client' -fi +alias ryzom_season_change='date --date $(wget -q -O - "http://api.ryzom.com/time.php?format=xml" | sed "s/>\n/\(89-/" | sed "s//\(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")' fliptable() { echo "(╯°□°)╯ ┻━┻"; }