diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-06-27 02:08:29 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-06-27 02:08:29 -0700 |
commit | 15ea1a67ef855f400b3bd888b51d59edb36cea2f (patch) | |
tree | 8b18397980d0c4d3ee7dd06df023745cb55d6fd1 /home | |
parent | 272a7811a572ad475252ef90730304222eb8452f (diff) |
comment
Diffstat (limited to 'home')
-rw-r--r-- | home/xyz/.bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index f906a42c..00af8273 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 1)\][\u@\h \W]\$ \[$(tput sgr0)\]" # https://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/aliasrc |