todotxt-addons/ls

8 lines
196 B
Plaintext
Raw Normal View History

2015-06-15 15:13:05 -04:00
#!/bin/bash
[ "$1" = "usage" ] && echo " ls" && echo " ls, highlighting 'req:'s" && exit 0
shift
echo -e "$("$TODO_FULL_SH" command ls $@ |
sed "s/\(req:[^ $]*\)/$RED\1$DEFAULT/g")"