Indrajit Raychaudhuri 1ff9421f7b general: Update documentation better qualifying runcom paths | 3 年之前 | |
---|---|---|
.. | ||
functions | 10 年之前 | |
README.md | 3 年之前 | |
init.zsh | 3 年之前 |
Provides helper functions for developing modules.
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.is-darwin
checks if running on macOS Darwin.is-linux
checks if running on Linux.is-bsd
checks if running on BSD.is-cygwin
checks if running on Cygwin (Windows).is-termux
checks if running on Termux (Android).The authors of this module should be contacted via the issue tracker.