]> err.no Git - dotfiles/commitdiff
fix up debian_chroot
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 17 Sep 2004 11:02:32 +0000 (11:02 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 17 Sep 2004 11:02:32 +0000 (11:02 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@650 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

bashrc
environment

diff --git a/bashrc b/bashrc
index a4f85330bcda7dccc46203f74fe0dda155d36c8f..fd89b4e3efc44d183b4388c8435be0bda80f523b 100644 (file)
--- a/bashrc
+++ b/bashrc
@@ -24,11 +24,6 @@ ATTR_UND="\[\033[4m\]"
 ATTR_INV="\[\033[7m\]"
 ATTR_AV="\[\033[m\]"
 
-CHROOT=""
-if [ -f /etc/debian_chroot ]; then
-    CHROOT="($(cat /etc/debian_chroot | tr -d '\n'))"
-fi
-
 case $TERM in
     linux|*xterm*|ansi|linux-lat|*Eterm*)
         export PS1=": ${ATTR_FET}\u@\h${CHROOT} \w \\\$${ATTR_AV} "
index bdef13e0f14dc12d73adb498e793ec2b4b175eb2..e9a074ddab2f8f427fba33b81acae4757e062ecb 100644 (file)
@@ -133,6 +133,11 @@ XTERM=xterm
 PAGER=less
 GNUSTEP_USER_ROOT="$HOME/.GNUstep"
 
+CHROOT=""
+if [ -f /etc/debian_chroot ]; then
+    CHROOT="($(cat /etc/debian_chroot | tr -d '\n'))"
+fi
+
 if test `uname -s` = "Linux" && test `uname -m` = i686; then
     ldlib=ld-linux.so.2
 fi