g: search in files with .txt suffix

This commit is contained in:
Ori Bernstein 2024-01-28 14:03:44 +00:00
parent 8a234e57b9
commit 4dbb99f478

View file

@ -21,7 +21,7 @@ if(~ $#* 0) {
pattern=$1
shift
suffixes='\.([bcChlmsy]|asm|awk|cc|cgi|cpp|cs|go|goc|ha|hs|java|lua|lx|mk|ml|mli|ms|myr|pl|py|rc|sh|tex|xy)$'
suffixes='\.([bcChlmsy]|asm|awk|cc|cgi|cpp|cs|go|goc|ha|hs|java|lua|lx|mk|ml|mli|ms|myr|pl|py|rc|sh|tex|xy|txt)$'
fullnames='(^|/)mkfile$'
repodirs='(^|/)(.git|.hg)($|/)'
switch($#*){