diff --git a/modules/trap/README.md b/modules/trap/README.md new file mode 100644 index 00000000..97763c00 --- /dev/null +++ b/modules/trap/README.md @@ -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 + diff --git a/modules/trap/functions/add-zsh-trap b/modules/trap/functions/add-zsh-trap index a147c689..e5d4e82c 100644 --- a/modules/trap/functions/add-zsh-trap +++ b/modules/trap/functions/add-zsh-trap @@ -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