From a0f514050e6571f1b9c1ff585875803108c4d069 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Thu, 29 Jun 2023 18:54:05 -0700 Subject: change bash PS color --- home/xyz/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/xyz/.bashrc') diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index a8684970..e83d5bd1 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -29,7 +29,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` -PS1="\[$(tput setaf 1)\][\u@\h \W]\$ \[$(tput sgr0)\]" +PS1="\[$(tput setaf 4)\][\u@\h \W]\$ \[$(tput sgr0)\]" # https://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/aliasrc for cmd in hardcode-fixer ventoy du units_cur fbgrab powertop nft rpi-imager fdisk dmesg; do -- cgit v1.2.3-70-g09d2