Skip to content

Commit

Permalink
Finally add a installer script
Browse files Browse the repository at this point in the history
  • Loading branch information
rainux committed Mar 18, 2013
1 parent a5a97a6 commit 8f6f08e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
6 changes: 1 addition & 5 deletions README.markdown
Expand Up @@ -15,11 +15,7 @@ Run the following commands in your terminal with bash/zsh:

cd
git clone git://github.com/rainux/.vim.git
cd .vim
git submodule update --init
ln -s .vim/.gvimrc ~
ln -s .vim/.vimrc ~
vim -Ec "exec 'BundleDocs' | q"
.vim/install.sh

Windows
-------
Expand Down
15 changes: 15 additions & 0 deletions install.sh
@@ -0,0 +1,15 @@
#!/bin/bash

cd `dirname $0` > /dev/null

echo 'Installing plugin bundles...'
git submodule update --init

echo "Symbolic linking $HOME/.gvimrc -> $PWD/.gvimrc"
ln -sf $PWD/.gvimrc ~

echo "Symbolic linking $HOME/.vimrc -> $PWD/.vimrc"
ln -sf $PWD/.vimrc ~

echo 'Generating help tags for plugin bundles...'
vim -Ec "exec 'BundleDocs' | q"

0 comments on commit 8f6f08e

Please sign in to comment.