diff --git a/.bash_aliases b/.bash_aliases index 8ac0b20..9f59560 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1,25 +1,13 @@ -alias sudo='sudo ' - -if [ "$OS_TYPE" == "freebsd" ]; then - alias ls='ls -G' -else - alias ls='ls --color=auto' -fi -alias ll='ls -lih' +[ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ] && alias ls='ls --color=auto' +alias ll='ls -lihF' alias la='ls -A' -alias l='ls -lihA' +alias l='ll -A' +alias sudo='sudo ' alias grep='grep -n --color=auto' alias j='jobs' alias ne='emacs' alias df='df -h' -alias top='TERM=screen-256color htop' alias weechat='TERM=screen-256color weechat' - 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"'
-
-alias ryzom_season_change='date --date $(wget -q -O - "http://api.ryzom.com/time.php?format=xml" | sed "s/>>\n/\(89-/" | sed "s/