From cbd83152c91dc10492a979e2640e4416d2b39849 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 16 Mar 2024 08:25:51 -0400 Subject: .bashrc: Color chroot name in PS1 --- (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index fbf4714..d53755a 100644 --- a/.bashrc +++ b/.bashrc @@ -18,7 +18,7 @@ set +H # Prompt PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' if [ -r /etc/debian_chroot ]; then - PS1="($(cat /etc/debian_chroot))${PS1}" + PS1="(\[\033[01;35m\]$(cat /etc/debian_chroot)\[\033[00m\])${PS1}" fi # Terminal window title case "${TERM}" in xterm*|rxvt*) -- cgit v0.9.1