19 Custom Prompt Builder

BashStyle-NG Custom Prompt Builder

Figure 19.1: Custom Prompt Builder

BashStyle-NG CPB Toolbox

Figure 19.2: CPB - Toolbox

BashStyle-NG contains a Custom Prompt Builder that allows you to create a prompt from scratch, or modify one the existing prompt styles shipped with BasShtyle-NG.

You can insert symbolic colors into your prompt, which will allow you to change the colors right from the Styles Settings.

The Toolbox allows you to insert informations into your prompt, both Bash default and BashStyle-NG specific functions.

Setting: use_custom_prompt Use Custom Prompt

This master setting makes BashStyle-NG use your prompt definied here.

Setting: command PROMPT_COMMAND

Everything here goes into your PROMPT_COMMAND.

Setting: prompt PS1

Everything here goes into your PS1.