You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
229 B
Plaintext

#!/bin/sh
# List XXXs, FIXMEs and TODOs in files
#
# This uses ripgrep, and you may supply globs, e.g. to ignore files like this:
#
# XXX .vimrc .vim --glob '!.vim/bundle/**'
#
rg --pcre2 '^(?!.*mktemp).*\KXXX|FIXME|TODO' "$@"