This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/modules/helper
2013-11-26 00:25:36 -05:00
..
functions Use the builtin $signals array 2013-03-01 00:26:50 -05:00
init.zsh Simplify auto-titling 2013-11-26 00:25:36 -05:00
README.md Simplify auto-titling 2013-11-26 00:25:36 -05: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.