X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/4caffb3dcb48c05980ea41fd0a019ff33505aae5..f97d6c209f065d708b497e377607e2a0e91e8f79:/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 ---------------------