Chapter 7: Custom

Chapter 6 << Index >> Chapter 8




7.1 Use a custom prompt

 Use the custom prompt set up here.

7.2 Choose Style to modify

 Insert an internal style, to modify it.

7.3 Insert Symbolic Color

 BashStyle-NG uses `symbolic colors', which you can adjust, eg $usercolor.
 Use this to put some in your prompt. Unless like adding color-codes
 directly, this gives you the opportunity to change the colors via BS-NG.
 For more notes on colors, see 7.7

7.4 PS1

 Put your prompt here.

7.5 PROMPT_COMMAND

 Put your PROMPT_COMMAND (anything to be done before PS1) here.

 Note: You can't use colors directly with echo!
 You have to prepend `e' to them, eg: $ewhite instead of $white.


7.6 Show Toolbox

 Open the toolbox for adding usefull stuff to your prompt.

7.6.1 Standard Stuff

 Built-in stuff for your prompt

7.6.2 BashStyle-NG Stuff

 Put Stuff provided by BashStyle-NG into your prompt
 See Chapter 8 for more infos on that.

7.7 Colors

 List of available colors:
(Note: the following colors might be incompatible with your Terminal!)  Those colors are only suitable for PS1 & Co! If you want to use those colors
 with echo or PROMPT_COMMAND, you have to prepend `e', eg ewhite instead of white
 and so on. example usage: echo -e "${eblue}HELLO ${egreen}WORLD"

 Besides there are also symbolic colors available for PS1 & Co.
 List of available symbolic colors:
 Those colors can be easily changed via the `Change Color' comboboxes in BS-NG
 example of usage: PS1="${usercolor}\u${sepacolor} @${hostcolor}\h${fontcolor}: \$ >"