zshrc: make ip touch interface lo only
[grml-etc-core.git] / etc / zsh / zshrc
index 773c57a..ef2d716 100644 (file)
@@ -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