projects
/
zsh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5649809
)
Follow Jean-Philippe Ouellets change and s/exit/return/
author
Joerg Jaspert
<joerg@debian.org>
Wed, 10 Apr 2013 18:50:38 +0000
(20:50 +0200)
committer
Joerg Jaspert
<joerg@debian.org>
Wed, 10 Apr 2013 18:50:38 +0000
(20:50 +0200)
.zsh/functions/zbell
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/.zsh/functions/zbell
b/.zsh/functions/zbell
old mode 100644
(file)
new mode 100755
(executable)
index
a246dcd
..
961b8f5
--- a/
.zsh/functions/zbell
+++ b/
.zsh/functions/zbell
@@
-12,13
+12,13
@@
# Made available under the ISC license.
# only do this if we're in an interactive shell
-[[ -o interactive ]] ||
exit
+[[ -o interactive ]] ||
return
# get $EPOCHSECONDS. builtins are faster than date(1)
-zmodload zsh/datetime ||
exit
+zmodload zsh/datetime ||
return
# make sure we can register hooks
-autoload -Uz add-zsh-hook ||
exit
+autoload -Uz add-zsh-hook ||
return
# initialize zbell_duration if not set
(( ${+zbell_duration} )) || zbell_duration=15