Browse files

Fix setup bugs and rename to

* Fix problems with curl options when downloading the .vimrc
* Switch from bash to sh, to increase portability
* Use $HOME instead of ~
* Modify to reflect changes
  • Loading branch information...
Siddharth Mahendraker
Siddharth Mahendraker committed Nov 17, 2012
1 parent 29136b9 commit b34ddd72b1d70f2778be5438bb9caa039a4fac51
Showing with 9 additions and 10 deletions.
  1. +1 −1
  2. +8 −9 setup →
@@ -42,7 +42,7 @@ also become your preferred way to edit text in general.
To quickly setup Vim before we begin, please run the following command in this
projects root directory:
- $ ./setup
+ $ ./
For a gentle introduction to Vim, please run the `vimtutor` command on the
command line.
@@ -1,26 +1,25 @@
-cd ~
+cd $HOME
# Get a nice .vimrc file
-curl -Ss > .vimrc
+curl -SsLo .vimrc
# Create a nice .vim directory
-mkdir -p ~/.vim
-mkdir -p ~/.vim/undo
-mkdir -p ~/.vim/backups
+mkdir -p .vim
+mkdir -p .vim/undo .vim/backups
+mkdir -p .vim/autoload .vim/bundle
# Get pathogen
-mkdir -p ~/.vim/autoload ~/.vim/bundle; \
-curl -Sso ~/.vim/autoload/pathogen.vim
+curl -SsLo .vim/autoload/pathogen.vim
# Get some bundles
-cd ~/.vim/bundle
+cd .vim/bundle
# Get synatastic

0 comments on commit b34ddd7

Please sign in to comment.