diff --git a/AUTHORS b/AUTHORS index a90a432e7..90e803dcb 100644 --- a/AUTHORS +++ b/AUTHORS @@ -16,3 +16,5 @@ With thanks to: H. İbrahim Güngör Stas Antons Vincent Fleuranceau + T. Charles Yun + diff --git a/ChangeLog b/ChangeLog index 2b73ee2a7..78b5b5996 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,9 @@ represents a feature release, and the Z represents a patch. the new "default.project" and "default.priority" configuration variables (thanks to Vincent Fleuranceau) + Task supports improved word-wrapping to the terminal width + + Task now supports "default.command" configuration variable (for example + it could contain "list due:tomorrow") that is the command that is run + whenever task is invoked with no arguments. + Bug: Now properly supports relative dates in filters (task list due:eom, task list due:tomorrow, task list due:23rd ...) diff --git a/html/advanced.html b/html/advanced.html index feed82b65..3208f2671 100644 --- a/html/advanced.html +++ b/html/advanced.html @@ -43,6 +43,25 @@ lists all these commands.
++ However, if the following configuration variable is specified: +
+ +default.command=list pri:H
+
+ + Then this command will be run whenever task is run without arguments. + This means that your most common task command can be run simply + with the command: +
+ +% task
+[task list project:foo]
+
+ID Project Pri Description
+ 1 foo H Design the thing
+ 2 foo Build the thing
+
% task projects
This report generates a list of all the different projects that you diff --git a/html/config.html b/html/config.html index c579838f5..251766af1 100644 --- a/html/config.html +++ b/html/config.html @@ -258,6 +258,34 @@
+ Provides a default command that is run every time task is + invoked with no arguments. For example, if set to: +
+ +default.command=list project:foo
+
+ + Then task will run the "list project:foo" command if no + command is specified. This means that by merely typing: +
+ +% task
+[task list project:foo]
+
+ID Project Pri Description
+ 1 foo H Design the thing
+ 2 foo Build the thing
+
+ + Note that the value of this variable is simply the command + line that you would ordinarily type, but without the + preceding "task" program name. +
+