summaryrefslogtreecommitdiff
path: root/home/xyz/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.bashrc')
-rw-r--r--home/xyz/.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index ef8ae9a0..af46c839 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -26,7 +26,7 @@ esac
#PS1='\[\033[0;91m\][\u@\h \W]\$ \[\033[0m\]'
# tput is better for different terminals?
-# but also need \[ and \] around color code!
+# but also need \[ and \] around color code for PS1! but seems no need for printf in script? why?
# setaf and sgr0 see `man terminfo`
PS1="\[$(tput setaf 1)\][\u@\h \W]\$ \[$(tput sgr0)\]"