I have the following bash function and want to pass my own file types to the function. I wonder how should I do it.
greprc ()
{
grep -hir --exclude=\*.el --include=\*.{org,texi} "$@"
}
I have the following bash function and want to pass my own file types to the function. I wonder how should I do it.
greprc ()
{
grep -hir --exclude=\*.el --include=\*.{org,texi} "$@"
}