From 0d2b40b556fc32f7dd2b4d1257321adc664edccc Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sun, 27 May 2018 10:55:35 +0200 Subject: [PATCH] Add a color and brief alias for iproute2 https://twitter.com/johnf/status/999987903261360128 --- .aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.aliases b/.aliases index ea719b0..ba87421 100644 --- a/.aliases +++ b/.aliases @@ -8,6 +8,8 @@ alias grep='grep -n --color=auto' alias j='jobs' alias df='df -h' 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 ryzom_season_change='date --date $(wget -q -O - "http://api.ryzom.com/time.php?format=xml" | sed "s/>\n/\(89-/" | sed "s//\(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'