X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/e752d2ead6e9e8304f5d035ec826ca290e26fc51..79e9a98f7ca33cf4e282dfcfdf132b6f0b0995a9:/docs/index.rst?ds=sidebyside diff --git a/docs/index.rst b/docs/index.rst index 1dc90b7..17ea42a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -486,14 +486,14 @@ Setting custom configuration values By default, TaskWarrior uses configuration values stored in your .taskrc. To see what configuration value overrides are passed to each executed -task command, have a peek into ``config`` attribute of ``TaskWarrior`` object:: +task command, have a peek into ``overrides`` attribute of ``TaskWarrior`` object:: - >>> tw.config + >>> tw.overrides {'confirmation': 'no', 'data.location': '/home/tbabej/.task'} To pass your own configuration overrides, you just need to update this dictionary:: - >>> tw.config.update({'hooks': 'off'}) # tasklib will not trigger hooks + >>> tw.overrides.update({'hooks': 'off'}) # tasklib will not trigger hooks Creating hook scripts ---------------------