From 3f7618ab9ac5f0282e33e95797c230bfef3a39c6 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Wed, 20 Mar 2013 21:56:52 +0200 Subject: [PATCH] bash: fix $PS1 in shell/debugshell --- packages/sysutils/bash/init.d/03_debugshell | 1 + packages/sysutils/bash/init.d/99_shell | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/sysutils/bash/init.d/03_debugshell b/packages/sysutils/bash/init.d/03_debugshell index 40c70c4d71..fa9205f45a 100644 --- a/packages/sysutils/bash/init.d/03_debugshell +++ b/packages/sysutils/bash/init.d/03_debugshell @@ -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 diff --git a/packages/sysutils/bash/init.d/99_shell b/packages/sysutils/bash/init.d/99_shell index f81366c2c2..21e3aed810 100644 --- a/packages/sysutils/bash/init.d/99_shell +++ b/packages/sysutils/bash/init.d/99_shell @@ -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