Skip to content

A simple shell script to add a pride flag to your Bash prompt.

License

Notifications You must be signed in to change notification settings

kgscialdone/prideprompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Pride Prompt

Add a splash of color to your workspace by adding a pride flag to your terminal prompt!

Note: This requires a terminal emulator that supports ANSI true-color formatting codes.

A small selection of pride flags available with prideprompt

Installation and Usage

Download the prideprompt file from this repo and place it somewhere it can be easily accessed via the terminal, for example in /usr/bin. You may need to give it executable permissions, which can be done with the following command:

$ chmod  x path/to/prideprompt

Once you've installed it, you'll need to add it to your ~/.bashrc. Add the following line, replacing flag_name with your desired flag:

export PS1="$(prideprompt -f flag_name) \u@\h:\w\$"

This is the important part; you can customize the rest of your prompt around this as much as you want!

$(prideprompt -f flag_name)

You can see a list of all flags, or add your own, by opening the config file with this command:

$ prideprompt -c

Or you can reset your config file with this command (this is also the best way to update and include new defaults):

$ prideprompt -r

About

A simple shell script to add a pride flag to your Bash prompt.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages