-
Notifications
You must be signed in to change notification settings - Fork 0
bash_prompt
Sloth edited this page Mar 27, 2018
·
8 revisions
bash_prompt default string

sudo cp bash${BASH_VERSINFO[0]}${BASH_VERSINFO[1]}_prompt.sh /etc/profile.d/- for git support:
-
curl -sSL \ https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh \ -o /etc/profile.d/git-prompt.sh
-
- edit
~/.bash_prompt(or global/etc/bash.prompt)
See dot.bash_prompt and Examples for more details.
(for string options details seeman bashPROMPTING section)-
color_enable (yes/no)
Enable/Disable color support. -
string_*
String part. -
color_*
Terminal color number.
(Full support list of numbers can be generated by bash-color script) -
*_enable (yes/no)
Enable/Disable additional parts. -
export ENV_VARS supported. See
man bashfor details.
-