From 09b6202d18e65e2bef2cf5ce2a4ffad15aec634c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 25 Aug 2014 20:18:08 -0700 Subject: [PATCH] Add viminstall to setup. --- setup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index a0a37933..b0022ff4 100755 --- a/setup.sh +++ b/setup.sh @@ -3,6 +3,7 @@ cd `dirname $BASH_SOURCE` && source resources/bootstrapping.sh source dotfiles/lib/shellrc/functions.sh source dotfiles/lib/shellrc/brew.sh source dotfiles/lib/shellrc/python.sh +source dotfiles/lib/shellrc/vim.sh DOTFILES_DIRECTORY="$(dotfiles_abspath)/dotfiles" @@ -57,6 +58,7 @@ function setup_help() { -s Symlink dotfiles to home directory. -b Install brew packages. -p Install python packages. +-v Setup vim. -e Do absolutely everything with the most aggresive options. -h display this help message." } @@ -66,7 +68,7 @@ function setup() { setup_help exit 0 fi - while getopts "aosbpe" OPTCHAR; + while getopts "aosbpev" OPTCHAR; do case $OPTCHAR in a) @@ -106,6 +108,10 @@ function setup() { install_python_packages -a symlink_dotfiles source resources/osx.sh + vimstall + ;; + v) + vimstall ;; h) setup_help