Commit Diff


commit - 02e4bf341bc5c1f05a0b057af278eed752b8d24b
commit + 61dbf5e8dac05544cf4189a465f5afeea3bd965d
blob - 0ce5e4094e314a9a2e6f2ea3166891d494df033e
blob + 0df56a1165df5eeab1923ac0bc570da6ad0bfaa9
--- t_done.sh
+++ t_done.sh
@@ -123,7 +123,7 @@ t_print() {
 # t_select(number|regex)
 # returns: selected todos
 t_select() {
-	if expr "$1" + 0 > /dev/null 2>&1; then
+	if [ $(( $1 + 0 )) -gt 0 ]; then
 		sed -n "$1p"
 	else
 		casematch=