Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    Whatever the problem is, you should rather set TERM variable, not XTERM. Commented Dec 19, 2014 at 16:31
  • Sorry, a typo, edited the answer. Commented Dec 19, 2014 at 16:32
  • 1
    How about setting white color explicitly: PS1=$'%{\e[37m%}XYZ> %{\e[0m%}'? Commented Dec 19, 2014 at 17:02
  • OK, so try high intensity: PS1=$'%{\e[97m%}XYZ> %{\e[0m%}'. Also run echotc Co in problematic terminal and report the output. Commented Dec 20, 2014 at 14:58