File completion in csh

NeXT Computer, Inc. -> NEXTSTEP / OPENSTEP Software

Title: File completion in csh
Post by: MahRain on March 22, 2011, 02:07:55 AM
Hi all,

While working the command line I miss hitting tab for file completion. I've found it's supposedly fixed by adding this to .cshrc in the  home dir


set filec
set autolist


I've tried adding these lines to either the top or bottom of ~/.cshrc and /.cshrc (I guess this one is for root), but it doesn't enable the tab. I checked that Terminal loads the startup scripts and all, but these don't seem to work.

Typing "set filec" in the command line doesn't either.

The man page for csh lists file completion as a feature, so it should work, right?
Title: File completion in csh
Post by: MahRain on March 25, 2011, 04:59:13 AM
QuoteTo turn on filename completion set the shell variable filec by adding the line

  set filec
to your C shell startup file.

To complete a file or directory name press the ESC key.

I was pressing "tab". This works.

Go to top  Forum index