From a55368c3529c6b0076a079483b7b682812b14e3d Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sat, 23 May 2020 16:57:20 +0200 Subject: [PATCH] bash: Colorize prompt. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 37eac77d..e7286afe 100644 --- a/.bashrc +++ b/.bashrc @@ -26,7 +26,7 @@ then PS1='[\u@\h \w] \D{%F %T}\n[env]\$ ' else # PS1='\u@\h \w \$ ' - PS1='[\u@\h \w] \D{%F %T}\n\$ ' + PS1='\e[1;32m[\w] \D{%F %T}\e[m\n\$ ' fi mkcd(){