summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-06-29 20:23:07 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-06-29 20:23:07 +0200
commit76583960853e58adc9e10a5b72e45a07b3b4a43e (patch)
tree38e3fc80dbe3b5793f62c4ae096834c6b9d2f75a
parentf05169e826d0697e074d2cd04ee9643131543b9b (diff)
todo.txt: better sorting
-rw-r--r--.config/todo/config5
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