]> code.delx.au - dotfiles/commitdiff
bash: Non-color prompt is very basic
authorJames Bunton <jamesbunton@delx.net.au>
Sat, 1 Sep 2012 06:04:57 +0000 (16:04 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Sat, 1 Sep 2012 06:04:57 +0000 (16:04 +1000)
.bash/interactive

index 60f07b43c5006d7f691ec93566ee91fe0a37671e..53b61692101fdc00cf25a9c345cfb40e51633ca0 100644 (file)
@@ -6,14 +6,8 @@
 # enabled by default because terminfo is often broken.
 #stty erase $(tput kbs)
 
-# The contents of /etc/debian_chroot will be printed in the prompt. You can
-# create this file in chroot environments to know where you are.
-if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
-       debian_chroot=$(cat /etc/debian_chroot)
-fi
-
-# Prompt: user@host:directory$
-PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\n\$ '
+# Basic prompt only: user@host:directory$
+PS1='\u@\h:\w\n\$ '
 
 # Check for unsupported TERM variable
 if ! tput init &> /dev/null; then