Enhancement - Hooks

- Implemented a master switch rc.hooks=off that can shut off all
  hooks.  Seems like a good idea.
- Added support for 'hooks' and 'hook.*' as valid configuration
  entries.
This commit is contained in:
Paul Beckingham 2010-01-30 17:43:33 -05:00
parent ea8b4beede
commit d09a079199
3 changed files with 41 additions and 32 deletions

View file

@ -119,6 +119,7 @@ std::string Config::defaults =
"complete.all.projects=no # Include old project names in 'projects' command\n" // TODO
"complete.all.tags=no # Include old tag names in 'tags' command\n" // TODO
"debug=no # Display diagnostics\n"
"hooks=off # Hook system master switch\n"
"fontunderline=yes # Uses underlines rather than -------\n"
"shell.prompt=task> # Prompt used by the shell command\n" // TODO
"\n"