From: Iain Patterson <me@iain.cx> Date: Fri, 16 May 2014 10:16:50 +0000 (+0100) Subject: Less convoluted rtp setting. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=bd810050f68617900aaf284518f41d12977f2320;p=profile.git Less convoluted rtp setting. We can add to rtp with += rather than escaping out VIMRUNTIME. --- diff --git a/.profile.d/vim.bashrc b/.profile.d/vim.bashrc index 930d200..c973880 100644 --- a/.profile.d/vim.bashrc +++ b/.profile.d/vim.bashrc @@ -1,7 +1,7 @@ vim=$(find_working -a --version vim 2>/dev/null) if [ $? = 0 ]; then if [ -n "$PROFILE_HOME" ]; then - VISUAL="$vim --cmd ':se rtp=$PROFILE_HOME/.vim,\$VIMRUNTIME' -u $PROFILE_HOME/.vimrc" + VISUAL="$vim --cmd ':se rtp+=$PROFILE_HOME/.vim' -u $PROFILE_HOME/.vimrc" else VISUAL="$vim" fi