I am running Mac Catalina 10.15.6 and have XQuartz 1.18.4 installed. After running any successful command on XQuartz the follow characters are written to the terminal: 64;1;2;6;9;15;18;21;22c. I also have a custom prompt in my .zshrc file that reads:

export PROMPT='%(?.%F{green}√.%F{red}X)%f %B%F{240}%1~%f%b %# '

This just shows a green check when a command is successful and red x when a command fails. When this is removed the characters do not show in XQuartz. Thus, my question is: how can I preserve the functionality for my regular zsh shell and not have the characters show when running XQuartz?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.