From c3cde29203089e6a75a1187fbb695cf51afa7f2d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 11 Mar 2013 00:04:32 +0100 Subject: [PATCH] setup.sh: Add set -e. --- setup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.45.2