From 066b006ca2c4b353c4fb745b0ee7c733ea7a9255 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 31 Jan 2019 12:32:49 +1300 Subject: [PATCH] misc configuration changes --- .config/taskwarrior/rc | 7 ++++++- .crontab.d/taskwarrior | 2 +- .zsh/zshrc/parts.d/50-taskwarrior | 7 +++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.config/taskwarrior/rc b/.config/taskwarrior/rc index 0d33a22..0003703 100644 --- a/.config/taskwarrior/rc +++ b/.config/taskwarrior/rc @@ -2,7 +2,12 @@ include /usr/share/taskwarrior/light-256.theme data.location=~/.var/taskwarrior nag= -recurrence.indicator=⟳ +recurrence.indicator=@ +recurrence=off +hyphenate=off + +color.tag.TEMPLATE=gray16 on white +color.alternate= include /usr/share/taskwarrior/holidays.de-DE.rc include /usr/share/taskwarrior/holidays.en-NZ.rc diff --git a/.crontab.d/taskwarrior b/.crontab.d/taskwarrior index b86493b..d26dae7 100644 --- a/.crontab.d/taskwarrior +++ b/.crontab.d/taskwarrior @@ -1 +1 @@ -*/30 * * * * task sync >/dev/null 2>&1 +*/30 * * * * ( task sync && task next && task sync ) >/dev/null 2>&1 diff --git a/.zsh/zshrc/parts.d/50-taskwarrior b/.zsh/zshrc/parts.d/50-taskwarrior index 9138c2b..346df90 100644 --- a/.zsh/zshrc/parts.d/50-taskwarrior +++ b/.zsh/zshrc/parts.d/50-taskwarrior @@ -9,8 +9,9 @@ if whence task >/dev/null; then - alias t=task - alias t\?='alias -rm t t[a-z]' + function t() { task "$@"; } + + alias t\?='alias -rm t[-+a-z]' alias ta='t add' alias tc='t call' alias th='t attach' @@ -19,8 +20,10 @@ if whence task >/dev/null; then alias ty='t sync' alias td='t done' alias te='t edit' + alias tu='t undo' alias tm='t modify' alias ts='t start' + alias t+='t annotate' run_at_most_every 30s \ task 2>/dev/null || : -- 2.39.5