Fixed conditional GNU tools substitution for Solaris.
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 24121d4..e7af0fb 100644 (file)
--- 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'
@@ -108,6 +108,7 @@ export HISTSIZE=100000
 export HISTFILESIZE="$HISTSIZE"
 export CVS_RSH="ssh"
 grep -qw "$TERM" /etc/termcap || export TERM=vt220
+export SOCKS5_SERVER=icsocks.holland.sun.com
 
 # Force strcoll() to sort case-sensitively! (empty/undef doesn't work)
 export LC_COLLATE=C