From ff1f6eae0c4cd2278780d159453e839d0c46e1cd Mon Sep 17 00:00:00 2001 From: short <> Date: Wed, 7 Jan 2004 14:58:27 +0000 Subject: [PATCH] Fixed conditional GNU tools substitution for Solaris. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 6962315..e7af0fb 100644 --- a/.bashrc +++ b/.bashrc @@ -67,7 +67,7 @@ _bash_profile_addpath -f CLASSPATH "/opt/SUNWhvmd/launcher/GUI/classes/launcher. unset -f _bash_profile_addpath for i in tar ls find cp mv ln md5sum du grep ar chown chmod tail;do - which g$i >/dev/null && alias $i=g$i + which g$i | grep -q '^/' && alias $i=g$i done alias ls='ls -bF' -- 1.8.3.1