From 566564eb9cd1162f3e270997e6381700253c4341 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 6 Apr 2016 20:53:14 -0400 Subject: Simplify install script --- import.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'import.sh') diff --git a/import.sh b/import.sh index f1cc0e37..66dde777 100755 --- a/import.sh +++ b/import.sh @@ -2,7 +2,7 @@ # Import a file from ~ and replace it with a symlink. -set -e +set -o errexit -o nounset -o pipefail error() { echo "$1" @@ -20,3 +20,4 @@ dest_path="$PWD/$1" mkdir -p "$(dirname "$dest_path")" mv "$source_path" "$dest_path" ln -s "$dest_path" "$source_path" +echo "link $1" >> install.sh -- cgit 1.4.1