diff options
author | P. J. McDermott <pj@pehjota.net> | 2024-03-16 08:30:03 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2024-03-16 08:30:03 (EDT) |
commit | 3beece8a11f772c4143045d79c0783e00861d90f (patch) | |
tree | eab6f7e007b85b415bfcac6e160064e4f652e693 /.bashrc | |
parent | 00d86529d44b1b9c7992a99cde4154d69254735c (diff) | |
download | bash-3beece8a11f772c4143045d79c0783e00861d90f.zip bash-3beece8a11f772c4143045d79c0783e00861d90f.tar.gz bash-3beece8a11f772c4143045d79c0783e00861d90f.tar.bz2 |
.bashrc: Move chroot name in PS1
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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}" |