dotfiles/.bash_aliases

23 lines
564 B
Bash
Raw Normal View History

2013-03-23 14:48:31 +01:00
alias sudo='sudo '
2013-04-24 17:16:14 +02:00
if [ "$OS_TYPE" == "freebsd" ]; then
2013-04-24 16:50:40 +02:00
alias ls='ls -G'
2013-04-24 16:45:37 +02:00
else
alias ls='ls --color=auto'
2013-04-24 16:43:50 +02:00
fi
2013-03-23 14:48:31 +01:00
alias ll='ls -lih'
alias la='ls -A'
alias l='ls -lihA'
alias grep='grep -n --color=auto'
alias j='jobs'
2013-09-10 18:25:02 +02:00
alias emacs='emacs'
2013-03-23 14:48:31 +01:00
alias ne='emacs'
alias df='df -h'
alias top='htop'
2013-09-10 18:25:02 +02:00
alias weechat-curses='TERM=screen-256color weechat-curses'
2013-03-23 14:48:31 +01:00
alias lock='xscreensaver-command --lock'
2013-08-20 23:17:05 +02:00
alias meteo='curl -s --user-agent "USER FUCKING AGENT" "http://thefuckingweather.com/?where=Paris" | grep "<p class=\"remark\">" | sed -r "s/.*>(.*)<.*/\1 OUTSIDE\!/g"'