How to easily create a bash shell prompt for your personal use using a website interface.

The bash $PS1 generator here: 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
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: 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: 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.