update docs to specify XDG_CONFIG_HOME is a valid option

This commit is contained in:
Julien Rabinow 2020-12-03 01:37:20 -08:00 committed by Tomas Babej
parent 5256797ea9
commit dea098d155
2 changed files with 28 additions and 2 deletions

View file

@ -1314,6 +1314,10 @@ Specifies an alternate configuration file with highest priority.
.B TASKRC=<path-to-alternate-file> task ..
The environment variable specifies an alternate configuration file to use.
.TP
.B XDG_CONFIG_HOME=<path-to-alternate-config-home> task ..
The environment variable specifies an alternate configuration file to use.
.TP
.B task rc.<name>:<value> ...
.B task rc.<name>=<value> ...
@ -1340,7 +1344,10 @@ this man page.
.TP
~/.taskrc
User configuration file - see also taskrc(5). Note that this can be
overridden on the command line or by the TASKRC environment variable.
overridden on the command line or by the TASKRC environment variable. Also, if
.I ~/.taskrc
doesn't exist and XDG_CONFIG_HOME environment variable is defined, taskwarrior
will check if $XDG_CONFIG_HOME/task/taskrc exists and attempt to read it
.TP
~/.task