Don't set sort command in default todo.cfg.
Instead of directly setting a value in todo.cfg, let the user know what the default is and how to customize it. This allows developers the flexibility of changing the default in todo.sh without having to worry about fixing people's config files. Signed-off-by: Emil Sit <sit@emilsit.net>
This commit is contained in:
5
todo.cfg
5
todo.cfg
@@ -49,4 +49,7 @@ export TMP_FILE="$TODO_DIR/todo.tmp"
|
||||
# export PRI_C=$LIGHT_BLUE # color for C priority
|
||||
# export PRI_X=$WHITE # color for rest of them
|
||||
|
||||
export TODOTXT_SORT_COMMAND='env LC_COLLATE=C sort -f -k2' # customize list output
|
||||
# === BEHAVIOR ===
|
||||
|
||||
## customize list output
|
||||
# export TODOTXT_SORT_COMMAND='env LC_COLLATE=C sort -f -k2'
|
||||
|
||||
Reference in New Issue
Block a user