Skip to content

Commit

Permalink
Update bootstrap.sh
Browse files Browse the repository at this point in the history
See discussion in: spf13#409
I've tried this script myself too and it works. Please have a look
  • Loading branch information
Ferhat committed Aug 1, 2013
1 parent 072f419 commit 7cc2115
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ msg() {

success() {
if [ "$ret" -eq '0' ]; then
msg "\e[32m[✔]\033[0m ${1}${2}"
msg "\e[32m[✔]\e[0m ${1}${2}"
fi
}

error() {
msg "\e[31m[✘]\033[0m ${1}${2}"
msg "\e[31m[✘]\e[0m ${1}${2}"
exit 1
}

Expand Down Expand Up @@ -145,18 +145,18 @@ setup_vundle() {
############################ MAIN()
program_exists "vim" "To install $app_name you first need to install Vim."

do_backup "Your old vim stuff has a suffix now and looks like .vim.`date +%Y%m%d_%s`" \
do_backup "Your old vim stuff has a suffix now and looks like .vim.`date +%Y%m%d%S`" \
"$HOME/.vim" \
"$HOME/.vimrc" \
"$HOME/.gvimrc"

clone_repo "Successfully cloned $app_name"
clone_repo "Successfully cloned $app_name"

create_symlinks "Setting up vim symlinks"

clone_vundle "Successfully cloned vundle"

setup_vundle "Now updating/installing plugins using Vundle"

msg "\nThanks for installing $app_name."
msg "© `date +%Y` http://vim.spf13.com/"
msg "\nThanks for installing $app_name."
msg "© `date +%Y` http://vim.spf13.com/"

0 comments on commit 7cc2115

Please sign in to comment.