Package: todotxt-cli / 2.11.0-2

global_config.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Change todo global config dir to /etc/todo-txt
Author: Ondrej Novy <novy@ondrej.org>

--- a/todo.sh
+++ b/todo.sh
@@ -605,7 +605,7 @@
 TODOTXT_SORT_COMMAND=${TODOTXT_SORT_COMMAND:-env LC_COLLATE=C sort -f -k2}
 TODOTXT_DISABLE_FILTER=${TODOTXT_DISABLE_FILTER:-}
 TODOTXT_FINAL_FILTER=${TODOTXT_FINAL_FILTER:-cat}
-TODOTXT_GLOBAL_CFG_FILE=${TODOTXT_GLOBAL_CFG_FILE:-/etc/todo/config}
+TODOTXT_GLOBAL_CFG_FILE=${TODOTXT_GLOBAL_CFG_FILE:-/etc/todo-txt/config}
 
 # Export all TODOTXT_* variables
 export ${!TODOTXT_@}