Recently, when we updated our OS, we got a new tcsh feature enabled by default. Whenever I type a command that tcsh doesn't recognize, I get an annoying spelling correction like:

% cats

CORRECT>cast (y|n|e|a)?

I want to disable this feature and allow misspellings to error out like:

% cats
cats: Command not found.

Is my enter key somehow getting re-bound? What could be causing this?

link|improve this question

78% accept rate
feedback

1 Answer

up vote 2 down vote accepted

I had this same problem. You want to add

set correct=command

to your .cshrc. This will allow commands to be completed, but not corrected.

link|improve this answer
Beautiful. Thanks. – Ross Rogers Aug 18 '10 at 17:39
feedback

Your Answer

 
or
required, but never shown

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