Update theme var prefix
parent
0896ff2fb3
commit
3c6ffeb44f
|
|
@ -43,16 +43,16 @@ source "$BASH_IT"/bash_it.sh
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
When using a ssh session, the theme will display `user@hostname`.
|
When using a ssh session, the theme will display `user@hostname`.
|
||||||
You can disable this information with `BARBUK_SSH_INFO`.
|
You can disable this information with `BASH_IT_THEME_BARBUK_SSH_INFO`.
|
||||||
|
|
||||||
The hostname is displayed in the FQDN format by default. You
|
The hostname is displayed in the FQDN format by default. You
|
||||||
can use the short hostname format with `BARBUK_HOST_INFO`.
|
can use the short hostname format with `BASH_IT_THEME_BARBUK_HOST_INFO`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# short or long
|
# short or long
|
||||||
export BARBUK_HOST_INFO=short
|
export BASH_IT_THEME_BARBUK_HOST_INFO=short
|
||||||
# true or false
|
# true or false
|
||||||
export BARBUK_SSH_INFO=false
|
export BASH_IT_THEME_BARBUK_SSH_INFO=false
|
||||||
source "$BASH_IT"/bash_it.sh
|
source "$BASH_IT"/bash_it.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@ SCM_GIT_CHAR_ICON_BRANCH=${SCM_GIT_CHAR_ICON_BRANCH:=''}
|
||||||
EXIT_CODE_ICON=${EXIT_CODE_ICON:=' '}
|
EXIT_CODE_ICON=${EXIT_CODE_ICON:=' '}
|
||||||
|
|
||||||
# Ssh user and hostname display
|
# Ssh user and hostname display
|
||||||
SSH_INFO=${BARBUK_SSH_INFO:=true}
|
SSH_INFO=${BASH_IT_THEME_BARBUK_SSH_INFO:=true}
|
||||||
HOST_INFO=${BARBUK_HOST_INFO:=long}
|
HOST_INFO=${BASH_IT_THEME_BARBUK_HOST_INFO:=long}
|
||||||
|
|
||||||
# Bash-it default glyphs customization
|
# Bash-it default glyphs customization
|
||||||
SCM_HG_CHAR='☿ '
|
SCM_HG_CHAR='☿ '
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue