From: martin f. krafft Date: Wed, 30 Jan 2019 23:32:49 +0000 (+1300) Subject: misc configuration changes X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/066b006ca2c4b353c4fb745b0ee7c733ea7a9255?ds=sidebyside misc configuration changes --- 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 || :