# HG changeset patch # User Steve Losh # Date 1264039210 18000 # Node ID 0273470c8fd9df894ba3bda688665387b203863a # Parent 2757662f1404d92260c15dc69491c1cdfc6cfb96 Update the t project documentation. diff -r 2757662f1404 -r 0273470c8fd9 content/projects/t.html --- a/content/projects/t.html Mon Jan 18 22:11:10 2010 -0500 +++ b/content/projects/t.html Wed Jan 20 21:00:10 2010 -0500 @@ -169,6 +169,15 @@ 30 - Clean the entire apartment. $ +### Delete the Task List if it's Empty + +If you keep your task list in a visible place (like your desktop) you might +want it to be deleted if there are no tasks in it. To do this automatically +you can use the `--delete-if-empty` option in your alias: + + :::bash + alias t='python ~/path/to/t.py --task-dir ~/Desktop --list todo.txt --delete-if-empty' + Tips and Tricks ---------------