summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-07-01 16:40:21 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-07-01 16:40:21 -0700
commit93aeef21b3f6108f9e180b35a3f99b131278c916 (patch)
treeae85a2534ab1f11b379b2344513e4a8a9fce0de4
parentc1e3b215b81951bcc50fa1e71db8534fee1ce19a (diff)
comment
-rw-r--r--home/xyz/.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index 25f52084..0ab92f2e 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -28,7 +28,7 @@ esac
# tput is better for different terminals?
# but also need \[ and \] around color code for PS1! but seems no need for printf in script? why?
-# setaf and sgr0 see `man terminfo`
+# setaf and sgr0 see `man terminfo`, also it seems can have 256 different colors
PS1="\[$(tput setaf 4)\][\u@\h \W]\$ \[$(tput sgr0)\]"
# https://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/aliasrc