dotfiles/.bash_aliases
Rodolphe Breard d662c50f96 htop display
2013-10-16 14:15:27 +02:00

22 lines
585 B
Bash

alias sudo='sudo '
if [ "$OS_TYPE" == "freebsd" ]; then
alias ls='ls -G'
else
alias ls='ls --color=auto'
fi
alias ll='ls -lih'
alias la='ls -A'
alias l='ls -lihA'
alias grep='grep -n --color=auto'
alias j='jobs'
alias emacs='emacs'
alias ne='emacs'
alias df='df -h'
alias top='TERM=screen-256color htop'
alias weechat-curses='TERM=screen-256color weechat-curses'
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"'