bash: fix $PS1 in shell/debugshell

This commit is contained in:
Stefan Saraev 2013-03-20 21:56:52 +02:00
parent a6e57b5674
commit 3f7618ab9a
2 changed files with 2 additions and 0 deletions

View File

@ -24,5 +24,6 @@
TTY="3"
if [ "$DEBUG" = "yes" ]; then
PS1="\007\]\[\e[1;32m\]\h\[\e[1;32m\]:\[\e[1;34m\]\w \[\e[0m\]\\$ "
openvt -w -c $TTY /bin/sh &
fi

View File

@ -24,5 +24,6 @@
TTY="1"
while true; do
PS1="\007\]\[\e[1;32m\]\h\[\e[1;32m\]:\[\e[1;34m\]\w \[\e[0m\]\\$ "
openvt -w -c $TTY /bin/sh
done