diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-06-17 15:13:11 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-06-17 15:13:11 -0700 |
commit | 4b9312ebf6f24291b2c048831f4673db3ed84c41 (patch) | |
tree | 5875f8bf6269c7f1a766c7c0597778e8b2a3f182 /home/xyz/.bashrc | |
parent | 81ddf8bc5359ef6daf8a9003f5101b5367e43e73 (diff) |
change .bashrc PS1 to green 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 69dbfa00..4597afb4 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 2)\][\u@\h \W]\$ \[$(tput sgr0)\]" # https://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/aliasrc for cmd in iotop nethogs hardcode-fixer ventoy du units_cur fbgrab powertop nft rpi-imager fdisk; do |