# HG changeset patch # User Steve Losh # Date 1252709683 14400 # Node ID 5992ad3db6e8bc2e383fe744a6711b50b766c80d # Parent 862617004f8005f0b1181922eaa4334202929ca8 Add the prompt section. diff -r 862617004f80 -r 5992ad3db6e8 README --- a/README Fri Sep 11 18:50:04 2009 -0400 +++ b/README Fri Sep 11 18:54:43 2009 -0400 @@ -140,6 +140,18 @@ 2 $ +### Put Your Task Count in Your Bash Prompt + +Want a count of your tasks right in your prompt? Edit your `~/.bashrc` file: + + export PS1="[$(t | wc -l | sed -e's/ *//')] $PS1" + +Now you've got a prompt that looks something like this: + + [2] $ t -f 30 + [1] $ t Feed the cat. + [2] $ + ### Multiple Lists `t` is for people that want to *do* tasks, not organize them. With that said, sometimes it's useful to be able to have at least *one* level of organization. To split up your tasks into different lists you can add a few more aliases: