One of the nice features of vim is that you can ask it to ignore certain types of files when you hit tab by using the following command in vimrc:

set wildignore+=*.hi,*.pyc,*.o

Is there a similar setting for bash so I can ignore types of files when I tab in the command line?

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

The bash variable you are looking for is FIGNORE, for your example

export FIGNORE=$FIGNORE:.hi:.pyc:.o

I personally still cannot live without

export FIGNORE=$FIGNORE:CVS
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.