added check to see if dotf was installed

This commit is contained in:
Jonas Forsberg 2023-04-24 10:59:33 +02:00
parent b8ee31a757
commit c663d00719

View File

@ -5,8 +5,10 @@ function t(){
}
function todo_status(){
if command -v todo.sh > /dev/null; then
NUM="$(todo.sh lsp "$1" | sed -n 's/.*TODO: \([0-9]\+\).*/\1/p')"
[[ "$NUM" -ne 0 ]] && echo "YES"
fi
}
_todo()