dotfiles/.functions/todo.sh
Jonas Forsberg 6fe1bd3e0c
.
2021-11-12 12:49:44 +01:00

11 lines
181 B
Bash

#!/bin/bash
function t(){
todo.sh "$@"
}
function todo_status(){
NUM="$(todo.sh lsp "$1" | sed -n 's/.*TODO: \([0-9]\+\).*/\1/p')"
[[ "$NUM" -ne 0 ]] && echo "YES"
}