this is wrapper of watchfile specialized in todo-txt. If you define your TODO_DIR to somewhere one place, this won't help you. In that case, please use my watchfile.
Please use with tmux/GNU screen so that you can feel its magical power ;)
the watchfile is real time file viewer. While running, watchfile automatically detect the changing and show it in the same window.
- display todo.txt at current directory automatically.
If you don't use 'todo.txt' for todo file, please set it:
$ watchtodo filename <your todo.txt file name>
- In non working pane(which todo contents will be displayed), run:
$ watchtodo recieve
Please set your PS1 to output $(pwd) to specific file so that watchtodo recieve
can know where you are now.
export PS1="${PS1} \$(echo \$(pwd) >~/.watchtodo/pwd 2>/dev/null)"