nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

commit e39d2280b1d8dcef663249cff6749e4c01361c74
parent 7d558e892a1a3584f7e0e3db5c047854b17a4155
Author: mtmn <miro@haravara.org>
Date:   Sun, 21 Jun 2026 23:16:41 +0200

todo: use neatvi explicitly, no tma anymore

Diffstat:
Mmodules/mixins/dotfiles/config/shell/rc/todo | 24++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/modules/mixins/dotfiles/config/shell/rc/todo b/modules/mixins/dotfiles/config/shell/rc/todo @@ -4,21 +4,17 @@ alias tt='rg -N -B 1 "^todo:" ~/misc/notes/nota/todo.txt' alias tn='todo-notify' ta() { - if [ $# -eq 0 ]; then - t=${TMPDIR:-/tmp}/ta.$$ - { - date '+%Y-%m-%d %H:%M:%S' - printf 'todo: \n' - echo - } >|"$t" - [ -f ~/misc/notes/nota/todo.txt ] && cat ~/misc/notes/nota/todo.txt >>"$t" - \mv "$t" ~/misc/notes/nota/todo.txt - vi ~/misc/notes/nota/todo.txt - else - tma "$@" - fi + t=${TMPDIR:-/tmp}/ta.$$ + { + date '+%Y-%m-%d %H:%M:%S' + printf 'todo: \n' + echo + } >|"$t" + [ -f ~/misc/notes/nota/todo.txt ] && cat ~/misc/notes/nota/todo.txt >>"$t" + \mv "$t" ~/misc/notes/nota/todo.txt + neatvi ~/misc/notes/nota/todo.txt } te() { - vi ~/misc/notes/nota/todo.txt + neatvi ~/misc/notes/nota/todo.txt }