Merge pull request #1553 from BarbUk/fix/barbuk_theme_var_naming
Theme barbuk: update custom variable namingpull/1545/head
commit
bcfae07f97
|
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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=
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue