Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash - ignore dot files for autocompletion?



On 11/09/2010 08:56 AM, Robert La Ferla wrote:
> In our source code, we have .svn directories (for Subversion) and when navigating thru a directory using the TAB key, the .svn directories also appear for autocompletion.  Is there a way to get bash to ignore them?  I tried set match-hidden-files off but that didn't seem to work.

Yes!

export FIGNORE=CVS:\~:.svn

(that will ignore both CVS and .svn directories when doing autocomplete)

Matt






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org