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: , Leave a comment
Comments (2) Trackbacks (0)
  1. thx mate^^
    annettte (who apparently met u in nippon) gave me this address and look here, reading a few entries and already updated my bashrc :)
    hope it works

  2. Ah! Good ol’ FIGNORE. Thanks, +1, etc.


Leave a comment

(required)

No trackbacks yet.