bash-prompt-generator
bash-prompt-generator copied to clipboard
Easily customize bash prompt PS1 colors
Using `" "` with `\$` prevents it from interpreting correctly for `root` user(s), where `\$` should render as `#` and not `$`. Example: ``` root@layer ~ $ export PS1='\[$(tput setaf...
Even though my terminal reports that it's `xterm-256color`, it supports RGB TrueColor. Every modern terminal I've tested with do as well. The format is similar to what you're already using....
Besides just having a color selector, a bold text option for each individual section would be nice. This just requires to add `$(tput bold)` in front of the section that's...
Hello Presently the prompt string generated lack option of adding a Current Git Branch in the prompt string for display in the Bash prompt. After some fiddling, I was able...