Fixing chroot prompt
This commit is contained in:
parent
2e40ea1e62
commit
1bf7522df6
@ -44,7 +44,7 @@ chrt() {
|
|||||||
mount -t tmpfs -o nosuid,nodev tmpfs $TARGET/dev/shm
|
mount -t tmpfs -o nosuid,nodev tmpfs $TARGET/dev/shm
|
||||||
fi
|
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 \
|
chroot $TARGET /usr/bin/env -i \
|
||||||
HOME=/root \
|
HOME=/root \
|
||||||
TERM="$TERM" \
|
TERM="$TERM" \
|
||||||
|
Loading…
Reference in New Issue
Block a user