From e1773a7cc1643083bbaa03e61bcd8ff155b014f8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 18 Feb 2011 20:35:28 -0200 Subject: Adding debian chroot to command prompt --- files/bin/prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/bin') diff --git a/files/bin/prompt.sh b/files/bin/prompt.sh index 85d7bff..bb92e25 100644 --- a/files/bin/prompt.sh +++ b/files/bin/prompt.sh @@ -30,7 +30,7 @@ function command_prompt() { status_color="${COLOR_RED_BOLD}" fi - PS1="(${status_color}${exit_status}${COLOR_NONE}) [${COLOR_RED}\D{%Y%m%d %H:%M:%S}${COLOR_NONE}] ${COLOR_GREEN}\u@\h${COLOR_NONE}:${COLOR_CYAN}\w${COLOR_NONE} \\$ " + PS1="(${status_color}${exit_status}${COLOR_NONE}) [${COLOR_RED}\D{%Y%m%d %H:%M:%S}${COLOR_NONE}] ${COLOR_CYAN}${debian_chroot:+($debian_chroot)}${COLOR_NONE}${COLOR_GREEN}\u@\h${COLOR_NONE}:${COLOR_CYAN}\w${COLOR_NONE} \\$ " PS2="${BOLD}>${OFF} " } -- cgit v1.2.3