aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-10 17:20:34 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-10 17:20:34 +0000
commit17207a5ff5029ca680515b0e572582dedffb0b69 (patch)
tree056d6d18c6c4727951aa181457d57d99c8603003 /data/sandbox.bashrc
parentlibsandbox: pull in headers for dist (diff)
downloadsandbox-17207a5ff5029ca680515b0e572582dedffb0b69.tar.gz
sandbox-17207a5ff5029ca680515b0e572582dedffb0b69.tar.bz2
sandbox-17207a5ff5029ca680515b0e572582dedffb0b69.zip
sandbox.bashrc: use proper escape chars in PS1 so bash knows about them
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'data/sandbox.bashrc')
-rw-r--r--data/sandbox.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/sandbox.bashrc b/data/sandbox.bashrc
index 7dcddc9..9a59613 100644
--- a/data/sandbox.bashrc
+++ b/data/sandbox.bashrc
@@ -83,7 +83,7 @@ if [[ ${SANDBOX_INTRACTV} == "1" && -t 1 ]] ; then
cd "${PWD}"
if [[ ${NOCOLOR} != "true" && ${NOCOLOR} != "yes" && ${NOCOLOR} != "1" ]] ; then
- export PS1="\e[31;01m[s]\e[0m ${PS1}"
+ export PS1="\[\e[31;01m\][s]\[\e[0m\] ${PS1}"
else
export PS1="[s] ${PS1}"
fi