mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
- Added three new colorization rules - color.tag.x, color.project.x, color.keyword.x.
- Updated default .taskrc file. - Updated docs accordingly.
This commit is contained in:
parent
039c3119ff
commit
f73c64801c
4 changed files with 56 additions and 1 deletions
|
@ -107,6 +107,7 @@ void Config::createDefault (const std::string& file)
|
|||
|
||||
if (taskDir != "")
|
||||
{
|
||||
// Create a sample .taskrc file.
|
||||
FILE* out;
|
||||
if ((out = fopen (file.c_str (), "w")))
|
||||
{
|
||||
|
@ -125,9 +126,13 @@ void Config::createDefault (const std::string& file)
|
|||
fprintf (out, "#color.pri.L=on_green\n");
|
||||
fprintf (out, "color.active=bold_cyan\n");
|
||||
fprintf (out, "color.tagged=yellow\n");
|
||||
fprintf (out, "#color.tag.bug=yellow\n");
|
||||
fprintf (out, "#color.project.home=on_green\n");
|
||||
fprintf (out, "#color.keyword.car=on_blue\n");
|
||||
|
||||
fclose (out);
|
||||
|
||||
// Now set the live values.
|
||||
set ("data.location", taskDir);
|
||||
set ("command.logging", "off");
|
||||
set ("confirmation", "yes");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue