diff --git a/Tips-and-Tricks.textile b/Tips-and-Tricks.textile index 993a1e2..c54c0a8 100644 --- a/Tips-and-Tricks.textile +++ b/Tips-and-Tricks.textile @@ -24,6 +24,12 @@ function t() { } +Or using bash 3 or greater: +
function t() {
+ todo.sh -d /path/to/your/todo.cfg ${1:-"ls"} ${*#$1}
+}
+
+
You can still type @t add laundry@ from anywhere to add a task, but now you can just type @t@ to list your current tasks.
*Hide the configuration file by renaming it @.todo.cfg@.*