From ff24c6f187a8829356837937a869af80d72c4cd8 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Thu, 27 Jun 2024 02:08:29 -0700 Subject: comment --- home/xyz/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index 86d0b853..e114d3a5 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 3)\][\u@\h \W]\$ \[$(tput sgr0)\]" # https://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/aliasrc -- cgit v1.2.3-70-g09d2