+export VIMINIT: Set VIM setup even from foreign home directory.
authorlace <>
Thu, 27 Apr 2006 12:22:04 +0000 (12:22 +0000)
committerlace <>
Thu, 27 Apr 2006 12:22:04 +0000 (12:22 +0000)
 - Such as: (otheruser)$ . ~lace/.bashrc

.bashrc

diff --git a/.bashrc b/.bashrc
index b8c6cda..60dadf6 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -177,6 +177,7 @@ if grep 2>/dev/null -q '^..............:0C38 00000000:0000 0A ' /proc/net/tcp;th
        export https_proxy=http://127.0.0.1:3128/
        export   ftp_proxy=http://127.0.0.1:3128/
 fi
+export VIMINIT="source `echo "$BASH_SOURCE"|sed 's/[.]bashrc$/.vimrc/'`"
 
 export SOCKS5_SERVER=icsocks.holland.sun.com