X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;fp=etc%2Fzsh%2Fzshrc;h=f887427982ac1b322dd759aaba414fc2b96a2448;hp=22ed16228d1e26b47322bd34b041f544aa5d458d;hb=e54fa78f35cb62dbe3aaa99100e459dc4ebfd902;hpb=6e8ffd2ea9534d91df0f86d6b7d9bc972164cd0e diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 22ed162..f887427 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2678,8 +2678,8 @@ else fi # use ip from iproute2 with color support -if ip --color=auto addr show dev lo >/dev/null 2>&1; then - alias ip='command ip --color=auto' +if ip -color=auto addr show dev lo >/dev/null 2>&1; then + alias ip='command ip -color=auto' fi if [[ -r /proc/mdstat ]]; then