diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-10 17:20:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-10 17:20:34 +0000 |
commit | 17207a5ff5029ca680515b0e572582dedffb0b69 (patch) | |
tree | 056d6d18c6c4727951aa181457d57d99c8603003 /data/sandbox.bashrc | |
parent | libsandbox: pull in headers for dist (diff) | |
download | sandbox-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.bashrc | 2 |
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 |