Take the 2-minute tour ×

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?

share|improve this question

1 Answer 1

up vote 6 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

share|improve this answer

Your Answer


