Super minimal todo.txt
pretty-printer.
fisher install cideM/todo-fish
$ echo "x this is done" > todo.txt
$ echo "not done" >> todo.txt
$ echo "(A) priority" >> todo.txt
$ echo todo.txt | ftd
.
[ ] (A) priority
[ ] not done
$ echo todo.txt | ftd -v
. (1/3)
[ ] (A) priority
[ ] not done
[x] this is done
Install with Fisher (recommended):
fisher install cideM/todo-fish
This assumes that you're fish config folder is located under ~/.config/fish
curl https://raw.githubusercontent.com/cideM/todo-fish/master/functions/ftd.fish\
-o ~/.config/fish/functions/ftd.fish
Pipe a list of file paths to ftd
...
echo todo.txt | ftd
...or call with filenames
ftd todo.txt
Call it with the -v
or --verbose
flag for progress stats and displaying done tasks.
echo todo.txt | ftd -v
fd todo.txt | ftd
Just use whatever program generates a list of paths to todo.txt
files and pipe it into ftd
. Alternatively pass the file names as positional parameters:
ftd path/to/todo.txt path/to/another/todo.txt
- Rename -v to --show-done and --show-stats
- Accept positional params for file lists