Query the search paths for include
RC files
#3258
-
Hi there, Currently in the task rc file users can include files, by name and taskwarrior will go look to include these files from pre-determined locations. I think it's using the following code, in Configuration::load to do that:
However, I'm having trouble figuring out how it knows what directories to look. So, my questions are:
For context I'm trying to solve the following issue ralphbean/taskw#151 but as part of the newly created bergercookie/taskw-ng |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think the only place the
and TASK_RCDIR is set to Also, as far as I can tell, there's no way currently to query the TASK_RCDIR from a taskwarrior subcommand. Is there? |
Beta Was this translation helpful? Give feedback.
I think the only place the
::load
method is called is from Context.cpphttps://github.com/bergercookie/taskwarrior/blob/41608dc35fee0390d4679146034952fb12186053/src/Context.cpp#L470
and TASK_RCDIR is set to
${CMAKE_INSTALL_PREFIX}/share/doc/task/rc
- let me know if this is not right.Also, as far as I can tell, there's no way currently to query the TASK_RCDIR from a taskwarrior subcommand. Is there?