I want to have the following behavior with grep:
grep --java <rest of the command>
Where --java would either dynamically convert to --include=*.java or internally be equivalent to it. Is there a way to do this in my .cshrc file? I tried using the complete command but I can't seem to have the replacement work on the current word.