From 76583960853e58adc9e10a5b72e45a07b3b4a43e Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Wed, 29 Jun 2022 20:23:07 +0200 Subject: todo.txt: better sorting --- .config/todo/config | 5 +++-- 1 file 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 -- cgit v1.2.3-70-g09d2