aboutsummaryrefslogtreecommitdiff
path: root/bin/td
diff options
context:
space:
mode:
Diffstat (limited to 'bin/td')
-rwxr-xr-xbin/td2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/td b/bin/td
index 6d9aa064..e6cbfd93 100755
--- a/bin/td
+++ b/bin/td
@@ -12,7 +12,7 @@ file=${1:-"${TODO_NAME:-todo}"}
cd -- "$dir" || exit
# If the current directory isn't a Git repository, try to create one
-if ! command isgr >/dev/null ; then
+if ! command -v isgr >/dev/null ; then
printf >&2 'isgr: command not found\n'
exit 1
fi