diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-06-29 18:54:05 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-06-29 18:54:05 -0700 |
commit | a0f514050e6571f1b9c1ff585875803108c4d069 (patch) | |
tree | 05ddbf3ee0e4f6baf744321234389d205987f6e6 /home/xyz/.bashrc | |
parent | 53d857a20300ee6139536187666430c6a5306afe (diff) |
change bash PS color
Diffstat (limited to 'home/xyz/.bashrc')
-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 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 |