X-Git-Url: https://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;fp=etc%2Fzsh%2Fzshrc;h=89684e48982bf538419f3200e29827a2ac3c59c4;hp=8ff4dde28135abd3567867cc7797b042a924fe72;hb=c979eb86607ba4e7bf66b950314c002aa537f018;hpb=71d9deccfa42338806229f048f75248859d100a0 diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 8ff4dde..89684e4 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2678,7 +2678,7 @@ else fi # use ip from iproute2 with color support -if ip --color=auto addr >/dev/null 2>&1; then +if ip --color=auto addr show dev lo >/dev/null 2>&1; then alias ip='command ip --color=auto' fi