From 1a483833cd48f7d2b6b7910ac61d959fc377f082 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sat, 29 Apr 2023 11:52:00 +0200 Subject: Add back marks and enable cursorline --- bootstrap.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 528cc18..12247fb 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,8 +1,9 @@ #!/usr/bin/env sh +# vi: ft=sh SYMLINKDIR="$(readlink -f "$0")" BASEDIR="$(dirname "$SYMLINKDIR")" -cd $BASEDIR +cd "$BASEDIR" || exit 1 doIt() { git submodule update --init --recursive @@ -24,9 +25,9 @@ then doIt; else printf "This may overwrite existing files in your home directory. Are you sure? (y/n) " - read REPLY + read -r REPLY echo "" - if [ "$REPLY" = "y" -o "$REPLY" = "Y" ] + if [ "$REPLY" = "y" ] || [ "$REPLY" = "Y" ] then doIt else exit 1 -- cgit v1.2.3