From e51b221ef347354ac7c83dcfce6047b172eb0bba Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 20 Dec 2022 14:33:53 +0100 Subject: [PATCH] feat: change prompt color --- programs/bash.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/bash.nix b/programs/bash.nix index 2cac07a..337d845 100644 --- a/programs/bash.nix +++ b/programs/bash.nix @@ -32,7 +32,7 @@ in { initExtra = '' __prompt() { case $? in - 0) PS1='; ' ;; + 0) PS1='\[\e[34m\]; \[\e[0m\]' ;; *) PS1='\[\e[31m\]; \[\e[0m\]' ;; esac }