Skip to content

Query the search paths for include RC files #3258

Answered by bergercookie
bergercookie asked this question in Q&A
Discussion options

You must be logged in to vote

I think the only place the ::load method is called is from Context.cpp

https://github.com/bergercookie/taskwarrior/blob/41608dc35fee0390d4679146034952fb12186053/src/Context.cpp#L470

  std::vector <std::string> searchPaths { TASK_RCDIR };

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?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@djmitche
Comment options

@bergercookie
Comment options

Answer selected by bergercookie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants