Cygwin上でTodo.txtのCLI版動かしたメモ

Cygwinの上で動かした時のメモ書きです。
ダウンロード後、シェルスクリプトとconfigを各所に設置します。

$ ln -s ~/todo.txt_cli-2.8/todo.sh /usr/bin/todo
$ chmod +x /usr/bin/todo 
$ mkdir ~/.todo
$ ln -s ~/todo.txt_cli-2.8/todo.cfg config

configファイルにTodoのテキストファイルの場所を書き加えます。

$ vim todo.cfg
# === EDIT FILE LOCATIONS BELOW ===

# Your todo.txt directory
#export TODO_DIR="/Users/gina/Documents/todo"
export TODO_DIR="/cygdrive/c/Users/polaroidoon/My Documents/My Dropbox/Todo"


以上!あとはコマンドを最低限覚えれば完了です。

$ todo add "task"
$ todo ls
$ todo do xx←タスク番号