dotfiles/.local/bin/todo_sh_status.sh

5 lines
119 B
Bash
Raw Normal View History

2020-05-20 10:12:08 +00:00
#!/bin/bash
NUM="$(todo.sh lsp "$1" | sed -n 's/.*TODO: \([0-9]\+\).*/\1/p')"
[[ "$NUM" -ne 0 ]] && echo "YES"
exit 0