#
# This is an example /etc/todorc file. Modify to suit. This file can also be
# placed in ~/.todorc.
#

# Don't display children
filter -children

# Specify colours
#colour title=+green
#colour info=green
#colour veryhigh=+red
#colour high=yellow
#colour medium=white
#colour low=cyan
#colour verylow=blue

# Turn summary mode on
#summary

# Be generally paranoid about file ownerships and permissions
paranoid

# The database to use if --global or -G is specified
global-database $HOME/.todo_global

# Try binary format database, then XML
#database-loaders binary,xml

# Keep two backups of the database
#backup 2

# Sort items by whether they are completed, then priority, then creation time
# then finally by the text.
sort -done,priority,-created,-text

# Display date in a more Australian/UK friendly format.
#date-format %d/%m/%y, %H:%M

# Display date in American wierd-arse format.
#format date=%m/%d/%y, %H:%M

# Default display format
#format display=%4>%i%[info]%f%2n.%[priority]%+1T\n
#format verbose-display=%4>%i%[info]%f%2n.(added %c) %[priority]%+1T\n
#format generated=%2>%i- %+1T\n
#format verbose-generated=%2>%i- (added %c, completed %d) %+1T\n

# User-defined formats. These can be used to use different formatted displays.
# 
#format full-report=%i%[info]%f%2n.%[priority]%+1T%+1i%[info]Added: %[normal]%c  %[info]Completed: %[normal]%d\n%+1i%[info]Duration: %[normal]%D  %[info]Priority: %[normal]%p\n\n
# Override the display format to use "full-report".
#use-format display=full-report

# Force removal of world and group permissions from database when created
#on create {
#	exec chmod 600 $TODODB
#}

# When saving a database, also create a HTML version as .todo.html.
# This requires the libxslt library from xmlsoft.org in addition to the XSLT
# file in the devtodo contrib directory.
#on save {
#   echo HTML created
#   exec xsltproc /usr/share/devtodo/todo2html.xslt $TODODB > `dirname $TODODB`/.todo.html
#   exec chmod 600 `dirname $TODODB`/.todo.html
#}

# Make todo verbose when adding, editing or changing the title so that prompts
# will be displayed.
on add verbose
on edit verbose
on title verbose

# Use default priorities when editing, adding or grafting. This supresses 
# prompting for the priority.
#priority default
