From 3beece8a11f772c4143045d79c0783e00861d90f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 16 Mar 2024 08:30:03 -0400 Subject: .bashrc: Move chroot name in PS1 --- diff --git a/.bashrc b/.bashrc index f378a33..0305d28 100644 --- a/.bashrc +++ b/.bashrc @@ -16,10 +16,11 @@ shopt -s histappend set +H # Prompt -PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +PS1='\[\033[01;32m\]\u@\h\[\033[00m\]' if [ -r /etc/debian_chroot ]; then - PS1="(\[\033[01;35m\]$(cat /etc/debian_chroot)\[\033[00m\])${PS1}" + PS1="${PS1}(\[\033[01;35m\]$(cat /etc/debian_chroot)\[\033[00m\])" fi +PS1="${PS1}"':\[\033[01;34m\]\w\[\033[00m\]\$ ' # Terminal window title case "${TERM}" in xterm*|rxvt*) PS1="\[\e]0;\u@\h:\w\a\]${PS1}" -- cgit v0.9.1