mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Hooks
- Removed all obsolete hooks, except from commands.cpp, which is being worked on in parallel. - Implemented new on-launch and on-exit unit tests.
This commit is contained in:
parent
2f4efb28d6
commit
48eb4757f8
15 changed files with 2816 additions and 3246 deletions
|
@ -2457,7 +2457,7 @@ void handleShell ()
|
|||
std::string prompt = context.config.get ("shell.prompt");
|
||||
if (context.hooks.trigger ("pre-shell-prompt"))
|
||||
{
|
||||
context.hooks.trigger ("format-prompt", "prompt", prompt);
|
||||
//context.hooks.trigger ("format-prompt", "prompt", prompt);
|
||||
std::cout << prompt << " ";
|
||||
}
|
||||
context.hooks.trigger ("post-shell-prompt");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue