mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Configuration override of settings for context
Every configuration parameter can be overwritten for the current context by setting the parameter: context.<name>.rc.<parameter> = <value> in the config file. This allows for example to set a custom report for each context.
This commit is contained in:
parent
20041c120e
commit
1d81e5e3ee
4 changed files with 17 additions and 3 deletions
|
@ -1481,9 +1481,15 @@ Stores the value of the currently active context.
|
|||
.RE
|
||||
|
||||
.TP
|
||||
.B context.<name>=<filter>
|
||||
.B context.<name>.<type>=<filter>
|
||||
.RS
|
||||
Stores the definition of the context with the name <name>.
|
||||
Stores the definition of the context for type <type> with the name <name>. The
|
||||
type can either be read, write or rc. For details of the read and write types,
|
||||
please see the task(1) man page. The rc type allows to override any configuration
|
||||
parameter for the current context, e.g. if the default command for the context
|
||||
home should be changed to home_report, the following statement could be added:
|
||||
|
||||
context.home.rc.default.command=home_report
|
||||
.RE
|
||||
|
||||
.SS SYNC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue