diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-06-29 20:23:07 +0200 |
---|---|---|
committer | Adam <adam@adast.xyz> | 2022-07-03 13:36:14 +0100 |
commit | fd42124fba3c8da64010abe7d98bb23981a80bd5 (patch) | |
tree | 00d046502071e44d9424d11a5209889ba0de408c /.config/todo/config | |
parent | 7a2a2f90bb356d544ce694483f135433684ecb16 (diff) |
todo.txt: better sorting
Diffstat (limited to '.config/todo/config')
-rw-r--r-- | .config/todo/config | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/todo/config b/.config/todo/config index 3dd77d4..be45cfa 100644 --- a/.config/todo/config +++ b/.config/todo/config @@ -3,6 +3,9 @@ export TODO_FILE="$TODO_DIR/todo.txt" export DONE_FILE="$TODO_DIR/done.txt" export REPORT_FILE="$TODO_DIR/report.txt" +export TODOTXT_DEFAULT_ACTION=ls +export TODOTXT_SORT_COMMAND='env LC_COLLATE=C sort -k 2,2 -k 1,1n' + export PRI_A=$RED export PRI_B=$YELLOW export PRI_C=$GREEN @@ -12,5 +15,3 @@ export PRI_X=$WHITE export COLOR_DATE=$CYAN export COLOR_NUMBER=$BROWN export COLOR_META=$CYAN - -export TODOTXT_DEFAULT_ACTION=ls |