# HG changeset patch # User Pascal Bellard # Date 1440088734 -7200 # Node ID 91266cae02cb9870748954b8011efdc6427666b9 # Parent f894c64b5e7cfe2222880c1a65aa10b856be9ddf /etc/profile: fix PS1 diff -r f894c64b5e7c -r 91266cae02cb rootfs/etc/profile --- a/rootfs/etc/profile Tue Aug 18 19:04:10 2015 +0300 +++ b/rootfs/etc/profile Thu Aug 20 18:38:54 2015 +0200 @@ -6,11 +6,11 @@ # Prompt format for Ash (Bash use /etc/bashrc). if [ $(id -u) -eq 0 ]; then # Red and blue for root - PS1="\[\e[1;31m\]\u@\h\[\e[0m\]:\[\e[1;34m\]\w\[\e[0m\]\$ " + PS1="\[\e[1;31m\]\u@\h\[\e[0m\]:\[\e[1;34m\]\w\[\e[0m\]\\$ " #PS1='\u@\h:\w\$ ' else # Green and blue for users - PS1="\[\e[1;32m\]\u@\h\[\e[0m\]:\[\e[1;34m\]\w\[\e[0m\]\$ " + PS1="\[\e[1;32m\]\u@\h\[\e[0m\]:\[\e[1;34m\]\w\[\e[0m\]\\$ " #PS1='\u@\h:\w\$ ' fi