[Fix #120] Add documentation for trap
This commit is contained in:
parent
b02f9d7dbe
commit
1500717004
2 changed files with 23 additions and 2 deletions
21
modules/trap/README.md
Normal file
21
modules/trap/README.md
Normal file
|
@ -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
|
||||
|
|
@ -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…
Reference in a new issue