From dd43d988671f6941db0f1ed051aa4e76f1d67343 Mon Sep 17 00:00:00 2001 From: BJ Dweck Date: Fri, 25 Sep 2020 14:28:41 +0200 Subject: [PATCH] Fixed PS1 .bashrc line to include extra slashes --- stage2/06-rudefox-motd/01-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage2/06-rudefox-motd/01-run.sh b/stage2/06-rudefox-motd/01-run.sh index 01001f2..fb1994b 100755 --- a/stage2/06-rudefox-motd/01-run.sh +++ b/stage2/06-rudefox-motd/01-run.sh @@ -5,4 +5,4 @@ rm -rf "${ROOTFS_DIR}/etc/update-motd.d/"* install -m 755 files/* "${ROOTFS_DIR}/etc/update-motd.d/" echo "" >> "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.bashrc" -echo "PS1=\"\[\e[31m\]Burrow>\[\e[m\] \"" >> "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.bashrc" +echo "PS1=\"\\\\[\e[31m\\\\]Burrow>\\\\[\e[m\\\\] \"" >> "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.bashrc"