cleanup
This commit is contained in:
parent
2e686faca1
commit
2dc3dcdc5a
3 changed files with 55 additions and 105 deletions
|
@ -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 "<p class=\"remark\">" | 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</g" | /bin/grep -e "day_of_season" -e "time_of_day" | sed "s/<day_of_season>/\(89-/" | sed "s/<time_of_day>/\(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 "(╯°□°)╯ ┻━┻"; }
|
||||
hash htop 2>/dev/null && alias top='TERM=screen-256color htop'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue