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/etc/bash.bashrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'files/etc/bash.bashrc') diff --git a/files/etc/bash.bashrc b/files/etc/bash.bashrc index 22d06b1..5e594b7 100644 --- a/files/etc/bash.bashrc +++ b/files/etc/bash.bashrc @@ -16,7 +16,10 @@ if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then fi # set a fancy prompt (non-color, overwrite the one in /etc/profile) -PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' +#PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' + +# set a fancy prompt +. /usr/local/bin/prompt.sh # Commented out, don't overwrite xterm -T "title" -n "icontitle" by default. # If this is an xterm set the title to user@host:dir @@ -45,5 +48,3 @@ if [ -x /usr/lib/command-not-found ]; then fi } fi - -. /usr/local/bin/prompt.sh -- cgit v1.2.3