Skip to content

Unable to set color to off via timew config #464

@limdingwen

Description

@limdingwen
% timew config color off
Are you sure you want to change the value of 'color' from 'on' to 'off'? (yes/no) yes
Are you sure you want to change the value of 'color' from 'on' to 'off'? (yes/no) yes
Are you sure you want to change the value of 'color' from 'on' to 'off'? (yes/no) yes
Are you sure you want to change the value of 'color' from 'on' to 'off'? (yes/no) yes
Are you sure you want to change the value of 'color' from 'on' to 'off'? (yes/no) yes
Are you sure you want to change the value of 'color' from 'on' to 'off'? (yes/no) yes
Are you sure you want to change the value of 'color' from 'on' to 'off'? (yes/no) yes
Are you sure you want to change the value of 'color' from 'on' to 'off'? (yes/no) yes
Config file /Users/ignis/.timewarrior/timewarrior.cfg modified.
% timew config
color = on
[snip...]
% timew --version
1.4.3

It turns out it overwrote my tag.<tags>.color configs:

define tags:
  body:
    color = off
  fun:
    color = off
  lazy:
    color = off
  school:
    color = off
  sleep:
    color = off
  travel:
    color = off
  work:
    color = off

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions