Fixing chroot prompt

This commit is contained in:
ngn 2024-01-07 14:19:11 +03:00
parent 2e40ea1e62
commit 1bf7522df6

View File

@ -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" \