Mercurial > dotfiles
changeset 95:b96ff0dd0137
Fixed the generated vimrc's runtimepath.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 22 Mar 2012 18:43:08 -0700 |
parents | e7d12826b236 |
children | 4c2c0fadab01 |
files | install.cmd install.sh vim/vimrc |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/install.cmd Thu Mar 22 11:53:00 2012 -0700 +++ b/install.cmd Thu Mar 22 18:43:08 2012 -0700 @@ -13,7 +13,7 @@ set /P confirm=Will delete existing "%userprofile%\_vimrc". OK with that? Press CTRL-C to abort. del /Q "%userprofile%\_vimrc" ) -echo set runtimepath=%CWD:\=/%vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,%CWD:\=/%vim/after > "%userprofile%\_vimrc" +echo set runtimepath+=%CWD:\=/%vim > "%userprofile%\_vimrc" echo source %CWD:\=/%vim/vimrc >> "%userprofile%\_vimrc" :: Mercurial Files
--- a/install.sh Thu Mar 22 11:53:00 2012 -0700 +++ b/install.sh Thu Mar 22 18:43:08 2012 -0700 @@ -9,8 +9,8 @@ # VIM # --- -ln -s "$CWD/vim" "$HOME/.vim" -ln -s "$CWD/vim/vimrc" "$HOME/.vimrc" +echo set runtimepath+=$CWD/vim > "$HOME/.vimrc" +echo source $CWD/vim/vimrc >> "$HOME/.vimrc" # MERCURIAL # ---------