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

When I misspell a command or directory and press enter, zsh first says command not found, but then displays the annoying "searching..." text, which can take a few seconds to show me, that nothing has been found anyway ;)

So, from my point of view, it's an anti-feature.

How can I disable it?

- I'm using OpenSuse 11.2. Could it be an OpenSuse-specific feature?
- My .zshrc is empty.
- I'm not talking about that autocomplete that comes after pressing tab

Sample from console:

me@myhost:~> testt [enter]
zsh: command not found: testt
testt: searching...
testt: command not found
share|improve this question
up vote 2 down vote accepted

Which version of zsh are you running?


Your personal .zshrc might be empty, but have you checked the system files?

man zsh

At the end of the default man page, it will usually list the installation specific system file locations (usually in /etc)

   /etc/zsh/zlogout    (installation-specific - /etc is the default)

Do any of these files include any changes? I've found most Linux distributions tend to install command-not-found. I prefer to not use it and uninstall it.

share|improve this answer
Yes! The uninstallation of command-not-found did the job! ;) – Jan 6 '10 at 14:55

Never actually used zsh, but this seems like what you want:

unsetopt correct
unsetopt correctall
share|improve this answer
No, doesn't help. – Dec 27 '09 at 13:42

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.