.
This commit is contained in:
10
.functions/todo.sh
Normal file
10
.functions/todo.sh
Normal 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"
|
||||
}
|
Reference in New Issue
Block a user