From e54fa78f35cb62dbe3aaa99100e459dc4ebfd902 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1sztor=20J=C3=A1nos?= Date: Tue, 21 Dec 2021 15:44:18 +0100 Subject: [PATCH] zshrc: fix ip command coloring The previous version broke auto-completion. With this fix both of them are working properly. --- etc/zsh/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.1.4