Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

🌈 Bash PS1 themes with color gradients

License

Notifications You must be signed in to change notification settings

lbhopper/bash-ps1-themes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash PS1 Themes 🌈

Themes for the PS1 bash environment variable, with a color gradient feature.

How to use

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.

Examples

Find more examples in the themes/ folders.

original_grad

teal_theme

magenta_grad

red_theme

teal_light_theme

image

How it works

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")

image

About

🌈 Bash PS1 themes with color gradients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%