mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-24 11:39:09 +00:00
Helper
Provides helper functions for developing modules.
Functions
add-zsh-trapadds a function name to a list to be called when a trap is triggered.is-autoloadablechecks if a file can be autoloaded by trying to load it in a subshell.is-callablechecks if a name is a command, function, or alias.is-truechecks a boolean variable for "true".coalesceprints the first non-empty string in the arguments array.is-darwinchecks if running on macOS Darwin.is-linuxchecks if running on Linux.is-bsdchecks if running on BSD.is-cygwinchecks if running on Cygwin (Windows).is-termuxchecks if running on Termux (Android).
Authors
The authors of this module should be contacted via the issue tracker.