From 5ece570ba9101ef7fc38dd145bd96053cb2cb21f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 7 Jun 2009 13:05:42 +0200 Subject: bootstrap: Trap errors --- include/bootstrap | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/bootstrap b/include/bootstrap index e1a41f6..77bbf79 100755 --- a/include/bootstrap +++ b/include/bootstrap @@ -6,6 +6,7 @@ # and also have an excuse for using zsh here :P setopt err_exit +trap "print -P '\n%N:%i: bootstrap failed ($?)'" ZERR typeset -i rcempty=0 typeset PKG_ROOT PKG_DIR default_path='~/packages' : ${XDG_CONFIG_HOME=$HOME/.config} -- cgit v1.2.3