From f3593870c2add9c0982cd2888ba9adf15e724cfa Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Jun 2008 10:16:44 +0200 Subject: use print_exit_value instead of traps --- etc/options | 2 ++ etc/rc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/options b/etc/options index 4e4f636..977e993 100644 --- a/etc/options +++ b/etc/options @@ -10,6 +10,8 @@ setopt auto_cd cdable_vars setopt correct # echo 'foo''bar''' will become foo'bar' setopt rc_quotes +# Alert me in case of non-zero exit status +setopt print_exit_value # Accidently hitting ^s sucks (alternative: `stty -ixon`) unsetopt flow_control # And having to escape "!" everytime does, too diff --git a/etc/rc b/etc/rc index 42dcf30..9c08b02 100644 --- a/etc/rc +++ b/etc/rc @@ -28,7 +28,6 @@ source $ZDIR/completion ## misc bindkey -e # EMACS bindings ls-colors: eval $(dircolors -b $HOME/packages/zsh/etc/dircolors) -trap 'echo zsh: Program terminated with exit status $?' ZERR mesg n umask 077 -- cgit v1.2.3