Merge pull request #1553 from BarbUk/fix/barbuk_theme_var_naming

Theme barbuk: update custom variable naming
pull/1545/head
Nils Winkler 2020-04-08 09:21:33 +02:00 committed by GitHub
commit bcfae07f97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -45,16 +45,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 `BASH_IT_THEME_BARBUK_SSH_INFO`. You can disable this information with `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 `BASH_IT_THEME_BARBUK_HOST_INFO`. can use the short hostname format with `BARBUK_HOST_INFO`.
```bash ```bash
# short or long # short or long
export BASH_IT_THEME_BARBUK_HOST_INFO=short export BARBUK_HOST_INFO=short
# true or false # true or false
export BASH_IT_THEME_BARBUK_SSH_INFO=false export BARBUK_SSH_INFO=false
source "$BASH_IT"/bash_it.sh source "$BASH_IT"/bash_it.sh
``` ```

View File

@ -12,8 +12,8 @@ SCM_SVN_CHAR=${BARBUK_SVN_CHAR:='⑆ '}
EXIT_CODE_ICON=${BARBUK_EXIT_CODE_ICON:=' '} EXIT_CODE_ICON=${BARBUK_EXIT_CODE_ICON:=' '}
# Ssh user and hostname display # Ssh user and hostname display
SSH_INFO=${BASH_IT_THEME_BARBUK_SSH_INFO:=true} SSH_INFO=${BARBUK_SSH_INFO:=true}
HOST_INFO=${BASH_IT_THEME_BARBUK_HOST_INFO:=long} HOST_INFO=${BARBUK_HOST_INFO:=long}
# Bash-it default glyphs customization # Bash-it default glyphs customization
SCM_NONE_CHAR= SCM_NONE_CHAR=