I'm a newbie with a specific goal: to get my todo.txt to display on my os x desktop. Now that I've figured this out using Geektool, I'd like to create an alias to edit my todo.txt quickly. I've been trying to edit .bash_profile to create this alias, but something is going wrong.
I'm using this page
as my guide. They suggest these edits to the .bash_profile:
# Access todo.sh from anywhere in the file tree. Add the following to your ~/.bashrc file (~/.bash_profile for Mac and Cygiwn users):
# 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'
Then you simply type t add laundry from anywhere in your file tree to add a task.
So, coming from that, here's how my .bash_profile reads:
alias t='todo.sh -d /users/andy/todo.cfg'
But when I try to add to the todo list i get this:
andy-hendersons-macbook:~ Andy$ t add "don't forget the milk"
-bash: todo.sh: command not found
In place of the first line in the .bash_profile, I have also tried:
The Todo.sh is in my ~/Andy/ folder, but the .txt file it refers to is in my ~/andy/documents folder. However, now that it's being edited by Geektool I guess it looks in finder like a folder that contains several different .txt files, which is why I tried the version ending in /todo/.
Do you have any thoughts? Could I give any more information about what I'm doing? Thanks a lot.