projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zshrc: fix ip command coloring
[grml-etc-core.git]
/
etc
/
zsh
/
zshrc
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
22ed162
..
f887427
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-2678,8
+2678,8
@@
else
fi
# use ip from iproute2 with color support
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
fi
if [[ -r /proc/mdstat ]]; then