- copy the script
curl -o ~/.themeprompt https://raw.githubusercontent.com/devel0/linux-scripts-utils/master/themeprompt
-
source the script with
source ~/.themeprompt
-
function syntax
themeprompt [prod|prod-user|dev|dev-user|test|test-user]
or custom
themeprompt [fg] [bg]
- examples
cmd | sample |
---|---|
themeprompt prod |
|
themeprompt prod-user |
|
themeprompt dev |
|
themeprompt dev-user |
|
themeprompt test |
|
themeprompt test-user |
|
themeprompt 15 53 |
|
themeprompt 53 |
- example usage in
~/.bashrc
source ~/.themeprompt
themeprompt prod
- full color table follows