From 9035ce28218ef20edc48f25642c76bab14d39b27 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Sun, 2 Aug 2020 14:14:41 +0200 Subject: [PATCH] color prompt --- dot.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot.bashrc b/dot.bashrc index 5c1403d..aa4e59d 100644 --- a/dot.bashrc +++ b/dot.bashrc @@ -72,7 +72,7 @@ if ${use_color} ; then if [[ ${EUID} == 0 ]] ; then PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] ' else - PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] ' + PS1="\[$(tput bold)\]\[\033[38;5;2m\]\u\[$(tput sgr0)\]\[\033[38;5;11m\]@\[$(tput sgr0)\]\[\033[38;5;6m\]\h\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;11m\]\w\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;13m\]\\$\[$(tput sgr0)\] \[$(tput sgr0)\]" fi alias ls='ls --color=auto'