Browse Source

[Fix #120] Add documentation for trap

master
Sorin Ionescu 12 years ago
parent
commit
1500717004
  1. 21
      modules/trap/README.md
  2. 4
      modules/trap/functions/add-zsh-trap

21
modules/trap/README.md

@ -0,0 +1,21 @@ @@ -0,0 +1,21 @@
Trap
====
Provides for trapping UNIX signals and calling callback functions when a trap
is triggered.
Functions
---------
- `add-zsh-trap` adds a function name to a list to be called when a trap is
triggered.
Authors
-------
*The authors of this module should be contacted via the [issue tracker][1].*
- [Sorin Ionescu](https://github.com/sorin-ionescu)
[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues

4
modules/trap/functions/add-zsh-trap

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#
# Provides for the trapping of UNIX signals and the calling of multiple
# registered functions when a trap is triggered.
# Provides for trapping UNIX signals and calling callback functions when a trap
# is triggered.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>

Loading…
Cancel
Save