This commit is contained in:
Jonas Forsberg
2021-11-12 12:49:44 +01:00
parent 727a31547c
commit 6fe1bd3e0c
2 changed files with 11 additions and 1 deletions

10
.functions/todo.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/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"
}