# HG changeset patch # User Oleksandr Gavenko # Date 1487016541 -7200 # Node ID 235bf6715fc6205198713b79067fb2751bfbffd1 # Parent 4bd348e3422d26b83f44488d4d3da70a651f8e69 Use $'' syntax to get rid of \033 in flavor of \e. diff -r 4bd348e3422d -r 235bf6715fc6 .bashrc --- a/.bashrc Mon Feb 13 17:11:40 2017 +0200 +++ b/.bashrc Mon Feb 13 22:09:01 2017 +0200 @@ -13,8 +13,8 @@ PS2='> ' case "$TERM" in xterm*|eterm-color|screen|linux) - PS1='\n\033[36m==============================================================================\r$?|\033[31m\u\033[35m@\h\033[0m\033[36m \w \n\[\033[1m\033[31m\]bash#\[\033[0m\] ' - PS2='\[\033[32m\]> \[\033[0m\]' + PS1=$'\n\e[36m==============================================================================\r$?|\e[31m\u\e[35m@\h\e[0m\e[36m \w \n\[\e[1m\e[31m\]bash#\[\e[0m\] ' + PS2=$'\[\e[32m\]> \[\e[0m\]' ;; esac