Update theme var prefix
parent
0896ff2fb3
commit
3c6ffeb44f
|
|
@ -43,16 +43,16 @@ source "$BASH_IT"/bash_it.sh
|
|||
### Usage
|
||||
|
||||
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
|
||||
can use the short hostname format with `BARBUK_HOST_INFO`.
|
||||
can use the short hostname format with `BASH_IT_THEME_BARBUK_HOST_INFO`.
|
||||
|
||||
```bash
|
||||
# short or long
|
||||
export BARBUK_HOST_INFO=short
|
||||
export BASH_IT_THEME_BARBUK_HOST_INFO=short
|
||||
# true or false
|
||||
export BARBUK_SSH_INFO=false
|
||||
export BASH_IT_THEME_BARBUK_SSH_INFO=false
|
||||
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:=' '}
|
||||
|
||||
# Ssh user and hostname display
|
||||
SSH_INFO=${BARBUK_SSH_INFO:=true}
|
||||
HOST_INFO=${BARBUK_HOST_INFO:=long}
|
||||
SSH_INFO=${BASH_IT_THEME_BARBUK_SSH_INFO:=true}
|
||||
HOST_INFO=${BASH_IT_THEME_BARBUK_HOST_INFO:=long}
|
||||
|
||||
# Bash-it default glyphs customization
|
||||
SCM_HG_CHAR='☿ '
|
||||
|
|
|
|||
Loading…
Reference in New Issue