Customize your prompt easily

An online service that makes it easy to customize your PS1.

Customize your prompt easily

Customizing the prompt is one of the things all geeks love, making it the way you want goes beyond organization!

We know that there are several services that do this for us and we have already published several articles about it, such as:

But things are getting easier and easier, now you can customize your prompt online, that’s right!

I’m referring to the Bash Prompt Generator .

It is an online service where you can choose with just clicks which items you want to be displayed in your $PS1 variable.

For example, if you want your prompt to display:

  • Date
  • Hour(24H)
  • Bash version
  • command number

Just click on the tags that will be located on the left side of the screen on the site and copy the Output, for example:

PS1='\[\e[0m\]\d\[\e[0m\]\t\[\e[0m\]\v\[\e[0m\] '

Example of what it will look like: ** Thu May 1309:26:005.0 **

And then paste it in your terminal and to last the customization, as we already know, just include it in your ~/.bashrc:

echo "export PS1='\[\e[0m\]\d\[\e[0m\]\t\[\e[0m\]\v\[\e[0m\] '" >> ~/ .bashrc

You can even include your PS1 and customize right there!

The website is:

terminal bash shellscript