diff --git a/.aliases b/.aliases index 3569359..75cf1ef 100644 --- a/.aliases +++ b/.aliases @@ -9,6 +9,7 @@ alias j='jobs' alias df='df -h' alias du='du -ch' alias mount_ro='mount -o ro,noexec,noatime,nodev,nosuid,noiversion' +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")' hash tree 2>/dev/null && alias t='tree' hash htop 2>/dev/null && alias top='htop' hash clang-format 2>/dev/null && alias clang-format='clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false}"'