Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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'm having a very strange issue with an install of zsh on my local machine. It attempts to correct commands I've typed very aggressively.

Here are two examples.

If I type which ssh it will ask me if I meant .ssh. I also experience this with command names, not just arguments. If I type autotest, it will ask if I meant .autotest. I have two other machines with zsh installed and this does not happen.

I've attempted to completely remove all zsh config files from my home directory and regenerate them. I've also tried hash -rf with no luck.

I'm tempted to just turn off the correct feature, but I'd like to continue using it if I can and just find a way to get it to behave. It can be very frustrating.

share|improve this question

A simple fix would be to disable correction for commands likely to take other command-names.

alias which='nocorrect which'
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .