TIP: Make bash tab completion ignore .svn directories
March 16, 2010 by pcl · 6 Comments
Having to tab through the fifty million otherwise empty “net/mycompany/project/unit/subunit” directories that the Java ecosystem necessitates has consistently driven me crazy because completion stops at each step to let me choose the .svn directory, and I have to look and type the first letter of the directory I actually want to make it continue.
It’s actually really easy to fix this:
export FIGNORE=.svn
$FIGNORE is just a colon-separated list of suffixes to ignore when doing tab completion.