GBT car for todo.sh

This commit is contained in:
Jonas Forsberg
2020-05-20 12:12:08 +02:00
parent 8fde60e04d
commit 1b1cf28727
2 changed files with 9 additions and 1 deletions

4
.local/bin/todo_sh_status.sh Executable file
View File

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