From 1bf7522df66f9021af306ff4d657c714773ccf05 Mon Sep 17 00:00:00 2001 From: ngn Date: Sun, 7 Jan 2024 14:19:11 +0300 Subject: [PATCH] Fixing chroot prompt --- matter-chroot/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matter-chroot/main.sh b/matter-chroot/main.sh index 3a44436..437bed5 100644 --- a/matter-chroot/main.sh +++ b/matter-chroot/main.sh @@ -44,7 +44,7 @@ chrt() { mount -t tmpfs -o nosuid,nodev tmpfs $TARGET/dev/shm fi - local prompt='\e[1m\e[31m(chroot)\e[0m\e[1m \u@\h:\w#\e[0m ' + local prompt='\['$BOLD'\['$RED'(chroot)\['$RESET'\['$BOLD' \u@\h:\w#\['$RESET' ' chroot $TARGET /usr/bin/env -i \ HOME=/root \ TERM="$TERM" \