X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;fp=etc%2Fzsh%2Fzshrc;h=ef2d71697cae25a9720da3f72baf8300a182ee12;hp=773c57a24a6ea921a38fd58fe22f24a98a7b1033;hb=2b1cff4a9bb2712bedfff2a8fc9284520f065d77;hpb=bcb3ffa352f95ae1575cb2e02362cc22fba8c2a1 diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 773c57a..ef2d716 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2677,7 +2677,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