Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using FreeBSD. I know that it's possible to set wildmode and wildmenu in vim using set commands. How can I do similar stuff in a Linux shell? That is, what is the settings file's name?

What I want is for the shell to display possible filenames when I type in half of of a filename and press Tab. Also, I would like to remove the annoying beep that occurs when I press Tab.

share|improve this question
    
It is running CShell right now. –  MIkhail Aug 27 '10 at 6:55

1 Answer 1

up vote 1 down vote accepted

FreeBSD is not Linux.

To enable file and command completion add the following line to your ~/.csh file:

set filec

Then when you type part of a command name or filename at a shell prompt you can press escape and it will complete it for you.

You can inhibit the bell by adding this line:

set nobeep

See man csh for more information.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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