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.

In zsh when I try and press CTRL-C nothing happens (it works fine in bash) when I run bindkey | grep \\^C I get "^C" Applications so something must've happened... how do I bind ^-C to the default?

share|improve this question
    
What are you trying to do with Ctrl-c? What does stty -a show (with respect to intr and ^C (in a freshly started zsh session)? –  Dennis Williamson Mar 5 '11 at 1:30
    
go to a new line in the shell, and intr = ^C; –  errorhandler Mar 5 '11 at 2:09
add comment

1 Answer

stty sane is usually a good starting place; outside of the zsh command line editor, it's a function of the terminal driver.

share|improve this answer
    
now bindkey | grep \\^C returns nothing... –  errorhandler Mar 5 '11 at 0:27
add comment

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.