Rather unset $VIMINIT if we failed to set it properly.
authorlace <>
Wed, 26 Jul 2006 08:35:22 +0000 (08:35 +0000)
committerlace <>
Wed, 26 Jul 2006 08:35:22 +0000 (08:35 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index 29d098f..4ff3a94 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -185,6 +185,7 @@ if grep 2>/dev/null -q '^..............:0C38 00000000:0000 0A ' /proc/net/tcp;th
        export   ftp_proxy=http://127.0.0.1:3128/
 fi
 export VIMINIT="source `echo "${BASH_SOURCE:-$BASH_ENV}"|sed 's/[.]bashrc$/.vimrc/'`"
+[ "$VIMINIT" != "source " ] || unset VIMINIT   # RHEL3U8 bash-2.05b-41.7
 
 export SOCKS5_SERVER=icsocks.holland.sun.com