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 | 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 Tue, Nov 9, 2010 at 8:56 AM, Robert La Ferla <robert-2x9W/xM/j7LR7s880joybQ at public.gmane.org> 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.
>

Google claims that if you're doing this in .bashrc, you should do:
bind 'set match-hidden-files off'
You could also try setting FIGNORE="svn", but this will keep you from
completing any file that ends in svn, so that may not be what you want.

Good luck,
Gordon






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