✨ XXX: handle XXXs better, allow for excludes
This commit is contained in:
parent
011f5f8a90
commit
a4623c9e4a
1 changed files with 6 additions and 1 deletions
7
XXX
7
XXX
|
@ -1,3 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# List XXXs, FIXMEs and TODOs in files
|
# List XXXs, FIXMEs and TODOs in files
|
||||||
ag '^(?!.*mktemp).*XXX|FIXME|TODO' "$@"
|
#
|
||||||
|
# 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' "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue