1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/modules/helper
Sorin Ionescu 113f6763c2
Add a function to define a style if not defined
12 years ago
..
functions [Fix #245] Merge trap into helper 12 years ago
README.md Add a function to define a style if not defined 12 years ago
init.zsh Add a function to define a style if not defined 12 years ago

README.md

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.
  • zstyle- defines a style if it is already not defined.

Authors

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