diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-22 10:16:44 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-22 10:16:44 +0200 |
commit | f3593870c2add9c0982cd2888ba9adf15e724cfa (patch) | |
tree | 0fa710ed6dd47f30aaa1f4a30ce1fece9863142a /etc | |
parent | 7f0769a8ce6bd0663d29902c712891b4b2015282 (diff) |
use print_exit_value instead of traps
Diffstat (limited to 'etc')
-rw-r--r-- | etc/options | 2 | ||||
-rw-r--r-- | etc/rc | 1 |
2 files changed, 2 insertions, 1 deletions
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 @@ -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 |