I have recently re-discovered todo.txt the handy plain text todo list, along with its CLI. I have fallen in love with this method for keeping to-do lists, it's taggable and has search capabilities too! One of the biggest pain points for me getting started was installing the CLI and hooking it up to Dropbox for cross-platform sharing. The todo.txt docs don't provide much of a step by step getting started for OSX with homebrew, they merely say go install with homebrew and then you have to dig through the Tips and Tricks to find what different params to setup to customize your experience.
This article will walk you through setting up todo.txt CLI on OSX with Homebrew and storing your todo.txt files in Dropbox for use across multiple platforms.
Heads up! make sure to change any
<your username> to your OSX username
Install todo.txt CLI with homebrew using this command
$ brew install todo-txt
Create a folder in your Dropbox folder called “todo”
Create the following files in your new folder in your Dropbox folder
Or from the command-line, you could
cdinto your new folder and run this command instead
$ touch todo.txt todo.txt.bak report.txt done.txt
Make a copy of the todo.cfg in your new Dropbox folder
$ cp /usr/local/Cellar/todo-txt/2.9/todo.cfg $HOME/Dropbox/todo
Update your new todo.cfg file to reflect the location of your todo directory. This should be on line 4 change
~/.bash_profilewith these lines
complete -F _todo t
alias t='/usr/local/Cellar/todo-txt/2.9/bin/todo.sh -d $HOME/Dropbox/todo/todo.cfg'
This will give you the shortcut of
tso you don't have to type todo.sh every time. It will also add tab complete to for
Restart your terminal and you should now be able to add tasks using
$ t add “My first task”
For more info about todo.txt see http://todotxt.com
The software industry moves fast. But if you keep up, you can have an incredible career.