Skip to content

Instantly share code, notes, and snippets.

View kvnloughead's full-sized avatar

Kevin Loughead kvnloughead

View GitHub Profile
@kvnloughead
kvnloughead / edit
Last active January 28, 2023 16:21
Edit action for todo.txt.
#!/bin/bash
# Allows editing of a single todo item, selected by number. If no number is specified,
# opens todo.txt in $EDITOR. Place this file in .todo.actions.d.
case $2 in
"usage"|"help")
echo
echo "todo.sh $(basename $0) [ITEM_NUMBER]"
echo