prezto_config/modules/helper/README.md

28 lines
792 B
Markdown
Raw Normal View History

Helper
======
2012-06-12 21:35:47 +02:00
Provides helper functions for developing modules.
2012-06-12 21:35:47 +02:00
Functions
---------
- `add-zsh-trap` adds a function name to a list to be called when a trap is
triggered.
- `is-autoloadable` checks if a file can be autoloaded by trying to load it
in a subshell.
- `is-callable` checks if a name is a command, function, or alias.
2013-08-26 18:12:44 +02:00
- `is-terminal-inside-multiplexer` checks if the currently running terminal is
inside a terminal multiplexer.
- `is-true` checks a boolean variable for "true".
- `coalesce` prints the first non-empty string in the arguments array.
2012-06-12 21:35:47 +02:00
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/prezto/issues
2012-06-12 21:35:47 +02:00