diff --git a/data/etc/profile b/data/etc/profile index 0059a89dda..5e9aad0b69 100644 --- a/data/etc/profile +++ b/data/etc/profile @@ -13,8 +13,8 @@ else fi unset ARCH -PS1='`if [ $? = 0 ]; then echo "\e[32m"; - else echo "\e[31m\]"; fi`'"$PS1\e[0m\]> " +PS1="\["'`if [ $? = 0 ]; then echo "\e[32m"; + else echo "\e[31m"; fi`'"\]$PS1\[\e[0m\]> " export USER=`id -un` export GROUP=`id -gn`