about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-08-10 07:47:49 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-08-10 07:47:49 +0000
commite7ff1931eaef0e265bc532bf54b43baacaf99378 (patch)
tree316d39f62896def69ed881759468d97afe691c27 /Doc
parentb97ff864af803eac1992b660a102f58953b0fe51 (diff)
downloadzsh-e7ff1931eaef0e265bc532bf54b43baacaf99378.tar.gz
zsh-e7ff1931eaef0e265bc532bf54b43baacaf99378.tar.xz
zsh-e7ff1931eaef0e265bc532bf54b43baacaf99378.zip
A couple more minor tweaks to the "trap" section.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index eb220fe40..0ae467c42 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1157,12 +1157,14 @@ cindex(trapping signals)
 item(tt(trap) [ var(arg) ] [ var(sig) ... ])(
 var(arg) is a series of commands (usually quoted to protect it from
 immediate evaluation by the shell) to be read and executed when the shell
-receives any of the signals var(sig).
+receives any of the signals specified by one or more var(sig) args.
 Each var(sig) can be given as a number,
 or as the name of a signal either with or without the string tt(SIG)
-in front.
+in front (e.g. 1, HUP, and SIGHUP are all the same signal).
+
 If var(arg) is `tt(-)', then the specified signals are reset to their
 defaults, or, if no var(sig) args are present, all traps are reset.
+
 If var(arg) is an empty string, then the specified signals
 are ignored by the shell (and by the commands it invokes).