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

I'm using zsh with oh-my-zsh as default shell. When I run a command in guake / gnome-terminal / konsole, a string with format (special-char|command-name|%) appears as the first line of output in console. I remember that I ran print -Pn "\e]2;$2:q\a" in console and got this problem after that.

How can I fix this case?



share|improve this question

migrated from Feb 7 '13 at 19:02

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

Close and reopen your shell. A similiar thing happens with PuTTy if you accidentally cat a binary.

share|improve this answer
I have tried to close and reopen shell even I have removed and reinstalled zsh and oh-my-zsh but the problem is still here. – phongnh Feb 8 '13 at 4:10
What does your PROMPT variable say? It probably has something weird in it if this persists across closing the shell. This guy had a good reference: and so did this guy: – kmort Feb 8 '13 at 14:28

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.