diff options
author | P. J. McDermott <pj@pehjota.net> | 2024-03-16 08:25:51 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2024-03-16 08:25:51 (EDT) |
commit | cbd83152c91dc10492a979e2640e4416d2b39849 (patch) | |
tree | 9677f3d5ff667402ef85a76e36911c08bb4906ce | |
parent | c332dfb7dd61f4f6a4840dbbd1b8a1862db63073 (diff) | |
download | bash-cbd83152c91dc10492a979e2640e4416d2b39849.zip bash-cbd83152c91dc10492a979e2640e4416d2b39849.tar.gz bash-cbd83152c91dc10492a979e2640e4416d2b39849.tar.bz2 |
.bashrc: Color chroot name in PS1
-rw-r--r-- | .bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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*) |