CMP AIS > Debug app todo.sh

· EOG, like EOF


https://perplexity.ai/search/chatgpt-uwRva0wHQPKJnv4tBJd3yQ?sm=r

Q: first use of todo.sh -h #=> Fatal Error: is not a directory #

The error "Fatal Error: is not a directory" when running todo.sh -h occurs because the script cannot locate or access its required todo.txt directory, often due to improper installation, missing configuration, or running from the wrong location. [^2_1] [^2_2]

Quick Fixes #

Proper Setup Steps #

  1. Download or clone the repo:
    git clone https://github.com/todotxt/todo.txt-cli.git ~/todo && cd ~/todo. [2]
  2. Make executable:
    chmod +x todo.sh. [2]
  3. Create config if needed: Copy todo.cfg.example to todo.cfg and edit paths. [2]
  4. Test: ./todo.sh help (use ./ if not in PATH). [1][3]

Verify by listing tasks: todo.sh ls should work without errors post-setup.[1]

1 2 3 4 5 6 7 8 9 10

last updated: