summaryrefslogtreecommitdiff
path: root/home/xyz/.bashrc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-07-01 16:39:31 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-07-01 16:39:31 -0700
commita04be2e775ec001f889cc75ad46dbd69136f09c2 (patch)
tree6106991f8d705d64251bdc584dd491b119653fdf /home/xyz/.bashrc
parentf8a0d7531f5ecf6dff035d4cf22ac81c780b3279 (diff)
comment
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 dab44c72..30d6c80c 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 6)\][\u@\h \W]\$ \[$(tput sgr0)\]"
# https://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/aliasrc