X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/e752d2ead6e9e8304f5d035ec826ca290e26fc51..f24e18261a3d19b01bca32d5471b84729ec9efa9:/docs/index.rst 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 ---------------------