diff --git a/Tips-and-Tricks.textile b/Tips-and-Tricks.textile index 3362364..ad1f74c 100644 --- a/Tips-and-Tricks.textile +++ b/Tips-and-Tricks.textile @@ -1,13 +1,13 @@ *Access todo.sh from anywhere in the file tree.* Add the following to your @~/.bashrc@ file (@~/.bash_profile@ for Mac and Cygwin users):
- PATH=$PATH:"/path/to/your/todo/scripts" +PATH=$PATH:"/path/to/your/todo/scripts"*Avoid typing todo.sh every time.* Add the following to your @~/.bashrc@ file (@~/.bash_profile@ for Mac and Cygwin users):
- alias t='todo.sh -d /path/to/your/todo.cfg' +alias t='todo.sh -d /path/to/your/todo.cfg'Then you simply type @t add laundry@ from anywhere in your file tree to add a task. @@ -17,7 +17,7 @@ Then you simply type @t add laundry@ from anywhere in your file tree to add a ta *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:
- ssh username@remote.server.com todo.sh list +ssh username@remote.server.com todo.sh listDisplays the remote todo list.