mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-24 10:29:08 +00:00
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.
Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.
While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
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.