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:
832c2a2
)
Fix Vim runtime path when becoming another user.
author
Iain Patterson
<me@iain.cx>
Wed, 5 Aug 2009 10:52:53 +0000
(11:52 +0100)
committer
Iain Patterson
<me@iain.cx>
Wed, 5 Aug 2009 10:52:53 +0000
(11:52 +0100)
.become/all
patch
|
blob
|
history
diff --git
a/.become/all
b/.become/all
index
5138a15
..
6fa142d
100644
(file)
--- a/
.become/all
+++ b/
.become/all
@@
-4,7
+4,8
@@
export TERMINFO=$BECOME_HOME/.terminfo
__ps1
vim=$($BECOME_HOME/opt/bin/find_working vim 2>/dev/null)
if [ -n "$vim" ]; then
- alias vim="$vim --cmd ':se rtp=$BECOME_HOME/.vim' -u $BECOME_HOME/.vimrc"
+ vim="$vim --cmd ':se rtp=$BECOME_HOME/.vim,\$VIMRUNTIME' -u $BECOME_HOME/.vimrc"
+ alias vim="$vim"
alias vi=vim
fi
unset vim