projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8ffd2
)
zshrc: fix ip command coloring
author
Pásztor János
<model87@freemail.hu>
Tue, 21 Dec 2021 14:44:18 +0000
(15:44 +0100)
committer
Pásztor János
<model87@freemail.hu>
Tue, 21 Dec 2021 14:44:18 +0000
(15:44 +0100)
The previous version broke auto-completion. With this fix both of them
are working properly.
etc/zsh/zshrc
patch
|
blob
|
history
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
-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