diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-07-01 16:40:07 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-07-01 16:40:07 -0700 |
commit | 49a53e7bfb3011e82bf254f92c2894b61920ae90 (patch) | |
tree | ffcca37dc2aaa157220e96c3b30f933cd80ffd96 /home | |
parent | 90332c927ee315d8a971b876e7a1d9d5ed92608b (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 96491cd5..7ba8524d 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 5)\][\u@\h \W]\$ \[$(tput sgr0)\]" # https://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/aliasrc |