From: lace <> Date: Thu, 29 Jun 2006 10:03:56 +0000 (+0000) Subject: $VIMINIT initialization made compatible with: mandrake-10.1 X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=1538a3dfa2a395ac7e0c27678e4afce1c8e57b18 $VIMINIT initialization made compatible with: mandrake-10.1 --- diff --git a/.bashrc b/.bashrc index 60dadf6..a761b07 100644 --- a/.bashrc +++ b/.bashrc @@ -177,7 +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 VIMINIT="source `echo "${BASH_SOURCE:-$BASH_ENV}"|sed 's/[.]bashrc$/.vimrc/'`" export SOCKS5_SERVER=icsocks.holland.sun.com