Added a troubleshooting section on missing ~/.todo/config

henrik242
2013-05-02 07:35:48 -07:00
parent 9503483845
commit e6564ff097

@@ -38,3 +38,15 @@ Note: If you define an alias (e.g. @t@) to todo.sh, you need to explicitly enabl
5. Want more? See the full list of configuration tweaks, enhancements and recommendations on the "Tips and Tricks":Tips-and-Tricks page. 5. Want more? See the full list of configuration tweaks, enhancements and recommendations on the "Tips and Tricks":Tips-and-Tricks page.
6. Something missing? Todo.txt is extensible; many users have already written "custom add-ons":Todo.sh-Add-on-Directory. 6. Something missing? Todo.txt is extensible; many users have already written "custom add-ons":Todo.sh-Add-on-Directory.
h2. Troubleshooting
*I get "Fatal Error: Cannot read configuration file /Users/myusername/.todo/config" when launching todo.sh*
Create the <code>~/.todo/config</code> file manually. Here's some example content:
<pre><code>export TODO_DIR="$HOME/Dropbox/todo"
export TODO_FILE="$TODO_DIR/todo.txt"
export DONE_FILE="$TODO_DIR/done.txt"
export REPORT_FILE="$TODO_DIR/report.txt"
export TMP_FILE="/tmp/todo.tmp"
export TODOTXT_DEFAULT_ACTION=ls</code></pre>