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 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
1  
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

1 Answer 1

Try this in .tcshrc:

set autoexpand

as per http://unix.stackexchange.com/questions/19256/tab-autocompletion-and-history-in-tcsh

or

set expand-glob

for just files

Another source: http://linux.die.net/man/1/tcsh

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.