prefixed the prompt with `last command status` for more clarity

change made on 05/12/2024
This commit is contained in:
Guillaume Raffy 2025-06-06 14:48:33 +02:00
parent 69b6e27afb
commit 9469a9f065
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ __prompt_command() {
esac esac
PS1+="[${last_command_status_color}${last_command_status}${RCol}]" PS1+="last command status : [${last_command_status_color}${last_command_status}${RCol}]\n"
PS1+='\[\033[01;36m\]\D{%Y%m%d-%H:%M:%S}\[\033[00m\] ${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' PS1+='\[\033[01;36m\]\D{%Y%m%d-%H:%M:%S}\[\033[00m\] ${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
} }