X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=ef2d71697cae25a9720da3f72baf8300a182ee12;hb=2b1cff4a9bb2712bedfff2a8fc9284520f065d77;hp=29b8b86b8068fa2729956e935d5542bd349ff7b0;hpb=42cdb33949473fc89a15b5ad0e8c202799f93b4a;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 29b8b86..ef2d716 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 show dev lo >/dev/null 2>&1; then + alias ip='command ip --color=auto' +fi + if [[ -r /proc/mdstat ]]; then alias mdstat='cat /proc/mdstat' fi