11 lines
134 B
Bash
11 lines
134 B
Bash
#!/bin/zsh
|
|
|
|
todo_count() {
|
|
if [ -n "$2" ]; then
|
|
file="--database $2"
|
|
else
|
|
file="-G"
|
|
fi
|
|
todo ${=file} -f +${1:-high} | wc -l
|
|
}
|