How can i configure csh or tcsh to show available choices by pressing Tab twice, just like bash?


If you look in the tcsh/csh man page you'll find a option under "completion":

set autolist

Add this to your .cshrc file to enable this feature.

A word on tcsh/csh

This shell really shouldn't be used, both are sub-par shells by today's standards and are wrought with poorly implemented features. You should be using Bash, Zsh, Ksh, or something else entirely.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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