From: Simon Ruderich Date: Sun, 10 Mar 2013 23:04:32 +0000 (+0100) Subject: setup.sh: Add set -e. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=c3cde29203089e6a75a1187fbb695cf51afa7f2d setup.sh: Add set -e. --- diff --git a/setup.sh b/setup.sh index 2f39245..10591b6 100755 --- a/setup.sh +++ b/setup.sh @@ -18,13 +18,16 @@ # along with this program. If not, see . +set -e + . ../lib.sh # Create local directories. mkdir -p vim/cache -# Create documentation tags for pathogen plugins. -vim -e -c ':call pathogen#helptags()' -c ':q' +# Create documentation tags for pathogen plugins. `vim -e` always exists with +# 1 for unknown reasons. +vim -e -c ':call pathogen#helptags()' -c ':q' || true # Link setup. link vim ~/.vim