Initial commit - super-simple XDG-flavoured Taskwarrior config, which mostly does what I want

This commit is contained in:
Danielle McLean 2020-06-01 15:26:37 +10:00
commit f3b3fa4e6c
Signed by: 00dani
GPG Key ID: 9DDE1EDE01E3A605
4 changed files with 31 additions and 0 deletions

1
.stow-rename Normal file
View File

@ -0,0 +1 @@
config => .config

22
config/task/taskrc Normal file
View File

@ -0,0 +1,22 @@
# [Created by task 2.5.1 4/26/2020 18:33:44]
# Taskwarrior program configuration file.
# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-color',
# 'man task-sync' or 'man taskrc'
# Here is an example of entries that use the default, override and blank values
# variable=foo -- By specifying a value, this overrides the default
# variable= -- By specifying no value, this means no default
# #variable=foo -- By commenting out the line, or deleting it, this uses the default
# Use the command 'task show' to see all defaults and overrides
# Files
data.location=~/.local/share/task
# Color theme (uncomment one to use)
include /usr/local/share/doc/task/rc/dark-256.theme
# Report specifically for displaying my in-progress task in the shell prompt, as a quick reminder
report.progress.description=Tasks currently in progress
report.progress.columns=id,description.truncated
report.progress.filter=status:pending and +ACTIVE

View File

@ -0,0 +1,4 @@
#! zsh
if [[ -z $RPROMPT ]]; then
RPROMPT='$(task rc.verbose=nothing progress)'
fi

4
config/zsh/login/task Normal file
View File

@ -0,0 +1,4 @@
#! zsh
if [[ -z $TASKRC ]]; then
export TASKRC=$XDG_CONFIG_HOME/task/taskrc
fi