Add a color and brief alias for iproute2
https://twitter.com/johnf/status/999987903261360128
This commit is contained in:
parent
338f0a8c5b
commit
0d2b40b556
1 changed files with 2 additions and 0 deletions
2
.aliases
2
.aliases
|
@ -8,6 +8,8 @@ alias grep='grep -n --color=auto'
|
||||||
alias j='jobs'
|
alias j='jobs'
|
||||||
alias df='df -h'
|
alias df='df -h'
|
||||||
alias du='du -ch'
|
alias du='du -ch'
|
||||||
|
alias ip='ip --color'
|
||||||
|
alias ipb='ip --color --brief'
|
||||||
alias mount_ro='mount -o ro,noexec,noatime,nodev,nosuid,noiversion'
|
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</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")'
|
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")'
|
||||||
hash tree 2>/dev/null && alias t='tree'
|
hash tree 2>/dev/null && alias t='tree'
|
||||||
|
|
Loading…
Reference in a new issue