Update theme var prefix

pull/1536/head
BarbUk 2020-04-01 12:09:54 +04:00
parent 0896ff2fb3
commit 3c6ffeb44f
No known key found for this signature in database
GPG Key ID: DB301C759539E9FE
2 changed files with 6 additions and 6 deletions

View File

@ -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
``` ```

View File

@ -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='☿ '