Commit 76b7589d authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add (now required) "$*" to all &grepprg versions

parent a65671b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ vnoremap <silent> S ""y:exe 'AsyncGrep'

let s:grepargs='-En --binary-files=without-match'
if executable("list-files")
	let &grepprg = 'list-files -z\| xargs -r0 grep ' . s:grepargs
	let &grepprg = 'list-files -z\| xargs -r0 grep ' . s:grepargs . ' $*'
else
	let &grepprg = '~/.shell/bin/grep-auto-exclude grep $* -r . ' . s:grepargs
endif