Bash Prompt Changed in Fedora 39

0

The Fedora development mailing lists have been talking about a new prompt for the Bash shell for some time. The idea was to add some color to the command prompt. That has been introduced in Fedora 39.

Beyond the addition of color to the prompt the square braces – [ and ] – have been removed thus making a bit cleaner prompt. The original Bash prompt looks like Figure 1.

Figure 1: The Original Bash Prompt

The revised Bash prompt is shown in Figure 2.

Figure 2: The Revised Bash Prompt

If you use Fedora 39 – and presumably later – the new prompt will be used rather than the older one in my books. This does not affect the functionality of any of the commands used in the experiments in my books and articles.