Skip to content

linrock/bash-prompt-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash prompt generator

A web app for customizing the colors of your bash prompt:

https://robotmoon.com/bash-prompt-generator

Screenshot:

image

Example: Emerald green prompt

export PS1="\[$(tput setaf 34)\]\u\[$(tput setaf 40)\]@\[$(tput setaf 46)\]\h \[$(tput setaf 154)\]\w \[$(tput sgr0)\]$ "

Example: Fiery orange prompt

export PS1="\[$(tput setaf 196)\]\u\[$(tput setaf 202)\]@\[$(tput setaf 208)\]\h \[$(tput setaf 220)\]\w \[$(tput sgr0)\]$ "

Example: Ocean blue prompt

export PS1="\[$(tput setaf 39)\]\u\[$(tput setaf 45)\]@\[$(tput setaf 51)\]\h \[$(tput setaf 195)\]\w \[$(tput sgr0)\]$ "

Development

This is written with React and requires node.js.

First, install all node dependencies: yarn install

Start the dev server with: yarn start

License

MIT