git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
306d0e3
)
Less convoluted rtp setting.
author
Iain Patterson
<me@iain.cx>
Fri, 16 May 2014 10:16:50 +0000
(11:16 +0100)
committer
Iain Patterson
<me@iain.cx>
Wed, 28 May 2014 09:54:36 +0000
(10:54 +0100)
We can add to rtp with += rather than escaping out VIMRUNTIME.
.profile.d/vim.bashrc
patch
|
blob
|
history
diff --git
a/.profile.d/vim.bashrc
b/.profile.d/vim.bashrc
index
930d200
..
c973880
100644
(file)
--- 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