I'm running gvim with bash as the shell. When I run the :sh
command, the various colors print out, like the following:
:sh
?]0;~/src
?[32muser@machine ?[33m~/src?[0m
$
This is obviously a version of my customized prompt without any of the terminal codes being interpreted. Is there an option that can be passed to bash from gvim such that it will run in some sort of plain mode without the escapes?
Also, if I perform the same actions from vim running in a terminal, the issue never arises and the codes are interpreted so this question is specific to how to make the :sh
command and bash play nicely with gvim.