Ctrl-C stopped working for me at the terminal when using zsh (on mac osx). I didn't notice the exact moment that it happend so I can't be sure what caused it.

I didd't update zsh in a while though. and didn't touch .zshrc (I have it at a repo http://github.com/astrails/dotzsh)

If I run bash, ^C works in it.

If I run any command, like cat, ^C will work to stop it too. but inside zsh it just doesn't do anything.

bindkey | grep \\^C


"^B"-"^C" self-insert
  • zsh 4.3.10 (i386-apple-darwin10.4.3), installed though ports (zsh-devel @4.3.10_0+doc+examples+mp_completion+pcre)
  • mac os 10.6.6
  • just tried /bin/zsh and ^C doesn't work in it too. hmmm. Mar 1, 2011 at 22:59
  • 1
    Does it work without your .zshrc? (Try zsh --no-rcs.) Mar 1, 2011 at 23:45
  • hmmmmm. it does. silly me. but I didn't change it in a while and there are at least 3 other people in the company using the same set of configs. Mar 2, 2011 at 15:38

2 Answers 2


that was a bug in rvm (ruby version manager) that I did update lately


I had some funny business (mostly with CTRL-A just printing out "^A" instead of moving the cursor to home position of the command line), but I got rid of it by disabled the "vi-mode" plugin in .zshrc :)

  • why would I disable it if thats the mode I'm using? :) anyway, as you can see above the problem was with RVM Mar 31, 2011 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.