From bd810050f68617900aaf284518f41d12977f2320 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 16 May 2014 11:16:50 +0100 Subject: [PATCH] Less convoluted rtp setting. We can add to rtp with += rather than escaping out VIMRUNTIME. --- .profile.d/vim.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4