From: tfheen Date: Fri, 17 Sep 2004 11:02:32 +0000 (+0000) Subject: fix up debian_chroot X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d68b18de52c75da319ff7de6bb88ce0a7cc924d;p=dotfiles fix up debian_chroot git-svn-id: file:///svn/tfheen/trunk/dotfiles@650 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/bashrc b/bashrc index a4f8533..fd89b4e 100644 --- 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} " diff --git a/environment b/environment index bdef13e..e9a074d 100644 --- a/environment +++ b/environment @@ -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