From 9469a9f065d35cc376cea9b0d976eb934bc0edb5 Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Fri, 6 Jun 2025 14:48:33 +0200 Subject: [PATCH] prefixed the prompt with `last command status` for more clarity change made on 05/12/2024 --- home/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.bashrc b/home/.bashrc index 271a50c..4dd8e85 100644 --- a/home/.bashrc +++ b/home/.bashrc @@ -128,7 +128,7 @@ __prompt_command() { 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\]\$ ' }