try all your chance Nerdy stuff about computers and hacking.

16Mar/102

TIP: Make bash tab completion ignore .svn directories

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.

Tagged as: , 2 Comments