How to easily create a bash shell prompt for your personal use using a website interface.
Posted: August 17, 2013. At: 12:13 AM
The bash $PS1 generator here: http://www.kirsle.net/wizards/ps1.html allows you to create a cool bash shell prompt with a minimum of fuss. You can add colors to various parts of the prompt and make it look very nice indeed. Check it out now and see what you think.
Here is one that I made. This uses tput to set colors instead of using escape sequences. This is better practice it seems.
# Custom bash prompt via kirsle.net/wizards/ps1.html export PS1="\[$(tput bold)\]\[$(tput setaf 6)\]\t \u@\h \W \\$:>\[$(tput sgr0)\]"
There is another website that allows the creation of a bash shell prompt: http://ezprompt.net/. This one uses the older escape sequences instead of tput; but it is also a very good website.
If you want a simple drag and drop method of creating a useful bash shell prompt for Macintosh and Linux computers, then this website is excellent: http://xta.github.io/HalloweenBash/. This website lets you use simple drag and drop to create a complex bash prompt. The way this works is by dragging and dropping blocks to create the prompt. Very easy to use.