From bed9141fa797eb08855ac0fd9f6e3013bc4fb0c8 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Tue, 28 Aug 2012 18:27:25 -0500 Subject: [PATCH] Don't use $COLORS on AIX AIX (vx-track) has dircolors(1) but ls(1) doesn't support --color arg. --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index ef67a46..45c118f 100644 --- a/.bashrc +++ b/.bashrc @@ -302,6 +302,8 @@ test -n "$dircolors" && { test -e "/etc/DIR_COLORS.$TERM" && COLORS="/etc/DIR_COLORS.$TERM" test -e "$HOME/.dircolors" && COLORS="$HOME/.dircolors" test ! -e "$COLORS" && COLORS= + # AIX (vx-track) has dircolors(1) but ls(1) doesn't support --color arg + test "$UNAME" = "AIX" && COLORS= eval `$dircolors --sh $COLORS` } unset dircolors -- 2.45.2