fix code snippets indentation
Updated 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):
|
*Access todo.sh from anywhere in the file tree.* Add the following to your @~/.bashrc@ file (@~/.bash_profile@ for Mac and Cygwin users):
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
PATH=$PATH:"/path/to/your/todo/scripts"
|
PATH=$PATH:"/path/to/your/todo/scripts"
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
*Avoid typing todo.sh every time.* Add the following to your @~/.bashrc@ file (@~/.bash_profile@ for Mac and Cygwin users):
|
*Avoid typing todo.sh every time.* Add the following to your @~/.bashrc@ file (@~/.bash_profile@ for Mac and Cygwin users):
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
alias t='todo.sh -d /path/to/your/todo.cfg'
|
alias t='todo.sh -d /path/to/your/todo.cfg'
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Then you simply type @t add laundry@ from anywhere in your file tree to add a task.
|
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:
|
*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:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
ssh username@remote.server.com todo.sh list
|
ssh username@remote.server.com todo.sh list
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Displays the remote todo list.
|
Displays the remote todo list.
|
||||||
|
|||||||
Reference in New Issue
Block a user