prezto_config/modules/helper
2012-09-08 19:24:11 -04:00
..
functions [Fix #245] Merge trap into helper 2012-09-08 19:23:39 -04:00
init.zsh [Fix #249] Add documentation for helper 2012-09-08 19:24:11 -04:00
README.md [Fix #249] Add documentation for helper 2012-09-08 19:24:11 -04:00

Helper

Provides helper functions for developing modules.

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.
  • is-true checks a boolean variable for "true".
  • coalesce prints the first non-empty string in the arguments array.

Authors

The authors of this module should be contacted via the issue tracker.