mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdNews: Add news item about context-specific configuration overrides
This commit is contained in:
parent
2af2564fd9
commit
1a79f0b99e
1 changed files with 24 additions and 0 deletions
|
@ -416,6 +416,30 @@ void CmdNews::version2_6_0 (std::vector<NewsItem>& items) {
|
|||
""
|
||||
);
|
||||
items.push_back(by_modifier);
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// - Context-specific configuration overrides
|
||||
|
||||
NewsItem context_config (
|
||||
false,
|
||||
"Context-specific configuration overrides",
|
||||
"",
|
||||
"",
|
||||
" Any context can now define context-specific configuration overrides\n"
|
||||
" via context.<name>.rc.<setting>=<value>.\n",
|
||||
" This allows the user to customize the behaviour of Taskwarrior in a given context,\n"
|
||||
" for example, to change the default command in the 'work' context to 'overdue':\n"
|
||||
"\n"
|
||||
" $ task config context.work.rc.default.command overdue\n"
|
||||
"\n"
|
||||
" Another example would be to ensure that while context 'work' is active, tasks get\n"
|
||||
" stored in a ~/.worktasks directory:\n"
|
||||
"\n"
|
||||
" $ task config context.work.rc.data.location=~/.worktasks",
|
||||
"",
|
||||
""
|
||||
);
|
||||
items.push_back(context_config);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue