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 like ZSH's autocompletion feature, but often it hangs my terminal.

I'd like to set timeout on autocompletion so it cancels (kills) itself after n miliseconds.

share|improve this question

migrated from stackoverflow.com Nov 15 '12 at 10:10

This question came from our site for professional and enthusiast programmers.

1 Answer 1

You should be able to abort completions which take too long with Ctrl-C.

But (at least) in recent versions of zsh there seem to be some issues with aborting the completion under some circumstances. There is currently a discussion going on about that on the Zsh Workers mailing list starting with this posting.

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.