timewarrior icon indicating copy to clipboard operation
timewarrior copied to clipboard

Unable to set color to off via timew config

Open limdingwen opened this issue 4 years ago • 0 comments

% 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

limdingwen avatar Nov 10 '21 18:11 limdingwen