From: Michael Prokop Date: Mon, 8 Nov 2021 15:39:47 +0000 (+0100) Subject: Merge remote-tracking branch 'origin/github/pr/127' X-Git-Tag: v0.19.1~6 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=bcb3ffa352f95ae1575cb2e02362cc22fba8c2a1;hp=42cdb33949473fc89a15b5ad0e8c202799f93b4a;p=grml-etc-core.git Merge remote-tracking branch 'origin/github/pr/127' --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 29b8b86..773c57a 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2676,6 +2676,11 @@ else alias l='command ls -l' fi +# use ip from iproute2 with color support +if ip --color=auto addr >/dev/null 2>&1; then + alias ip='command ip --color=auto' +fi + if [[ -r /proc/mdstat ]]; then alias mdstat='cat /proc/mdstat' fi