From 98254e93358a779b7c1438a6186424e8249bd0f9 Mon Sep 17 00:00:00 2001 From: jagipson Date: Thu, 16 Jun 2011 15:03:16 -0700 Subject: [PATCH] Updated Tips and Tricks (textile) --- Tips-and-Tricks.textile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tips-and-Tricks.textile b/Tips-and-Tricks.textile index c54c0a8..6b1026e 100644 --- a/Tips-and-Tricks.textile +++ b/Tips-and-Tricks.textile @@ -32,6 +32,10 @@ Or using bash 3 or greater: 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. +*Sort your output by priority, then by number:* Find @export TODOTXT_SORT_COMMAND@ in your configuration file, and set it as follows: +
export TODOTXT_SORT_COMMAND='env LC_COLLATE=C sort -k 2,2 -k 1,1n'
+
+ *Hide the configuration file by renaming it @.todo.cfg@.* *Access your remote server's @todo.txt@ via ssh.* If you have a shell account on @remote.server.com@, alias your @todo.sh@ commands to do the same thing as usual but prepend @ssh username@remote.server.com@ to them. Something like: