Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just learned the trick for setting up cdpath in tcsh and it looks pretty useful.

However, it seems that auto-complete of sub-folder names doesn't come with it. Is there any trick available on that? It'd be really cool since I'm entering certain directories a lot.

I am using tcsh 6.14.00 (Astron).

share|improve this question
Do you have these in your .cshrc? "set autolist = ambiguous" and "set complete = enhance" ? – Hennes Nov 8 '13 at 23:19
Thanks for the reply, i just added these two into .cshrc, however seems it's not working. – Derek Nov 8 '13 at 23:27
Did you relog, source the file or start a new csh? (e.g. exec csh)? Which version of csh are you using? – Hennes Nov 8 '13 at 23:32
Yes, I did that. I'm not sure about the csh version, how can I tell? – Derek Nov 9 '13 at 6:25
If you still do not have an answer in a few days you might consider a bounty or moving (not cross posting) the question to Linux and unix. They have some similar questions which did get an answer. – Hennes Nov 14 '13 at 6:46

Try this in .tcshrc:

set autoexpand

as per


set expand-glob

for just files

Another source:

share|improve this answer

Your Answer


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.