File: todo_in_home.patch

package info (click to toggle)
todotxt-cli 2.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,312 kB
  • sloc: sh: 5,393; makefile: 67
file content (14 lines) | stat: -rw-r--r-- 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Todo directory is in home directory
Author: Ondrej Novy <novy@ondrej.org>

--- a/todo.cfg
+++ b/todo.cfg
@@ -2,7 +2,7 @@
 
 # Your todo.txt directory (this should be an absolute path)
 #export TODO_DIR="/Users/gina/Documents/todo"
-export TODO_DIR=$(dirname "$0")
+export TODO_DIR=~/.todo-txt
 
 # Your todo/done/report.txt locations
 export TODO_FILE="$TODO_DIR/todo.txt"