I like to have different hints in bash to quickly recognize which machine I work on when I use ssh . I found that by default, the bash terminal in OSX Yosemite accepts a wide range of Unicode characters, so I installed these PS1 :
Mac PS1
PS1=$'\n\n\xf0\x9f\x98\x88'" \t β \[\033[01m\]\ u@ \h\[\033[00m\]:\W > "
Raspberry Ο PS1
PS1=$'\n\n\xf0\x9f\x98\xBA'" \t β \[\033[01m\]\ u@ \h\[\033[00m\]:\W > "
Unfortunately, the GNU screen does not understand UTF-8 characters:
even when working in UTF-8 mode with screen -U
Any idea how to solve this problem?
source share