linrock / bash-prompt-generator

Easily customize bash prompt PS1 colors

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Easily customize bash prompt PS1 colors

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


Languages

Language:JavaScript 64.8%Language:HTML 18.2%Language:CSS 16.9%