Themes for the PS1 bash environment variable, with a color gradient feature.
For persistent use, copy the theme's source in your .bashrc
.
The theme files have export PS1=...
at the end, so they only need to be executed to apply the theme to the current shell.
See themes in ./themes/
, try them out by using source ./themes/Dark-red/dark_red_1
Works only in Bash shells, incompatible with zsh.
Find more examples in the themes/
folders.
To generate gradients with Bash colors, the grad() function spreads x consecutive color ids across a word, starting at a certain color id.
Usage: $(grad 83 6 "localhost")