summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-22 10:16:44 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-22 10:16:44 +0200
commitf3593870c2add9c0982cd2888ba9adf15e724cfa (patch)
tree0fa710ed6dd47f30aaa1f4a30ce1fece9863142a /etc
parent7f0769a8ce6bd0663d29902c712891b4b2015282 (diff)
use print_exit_value instead of traps
Diffstat (limited to 'etc')
-rw-r--r--etc/options2
-rw-r--r--etc/rc1
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
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