Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use zsh and it's great. But the autocorrection is not smart at all. I think it is not updated at any time. So I get the following often:

dennis@ponyboy ~ % sudo aptitude search zsh
zsh: correct 'aptitude' to '.aptitude' [nyae]? 

nyae is nothing like "forever" or "never". I am gone insane.

Okay. Autocorrection is cool. But how do I update?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You need to run

rehash

to empty zsh's command hash table

share|improve this answer
    
Yeah! Works pretty good! –  Dennis Wisnia May 24 '12 at 18:25

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.