Update documentation

pull/1536/head
BarbUk 2020-04-01 00:48:11 +04:00
parent d39eb053cf
commit 6d0744a928
No known key found for this signature in database
GPG Key ID: DB301C759539E9FE
1 changed files with 13 additions and 1 deletions

View File

@ -38,7 +38,19 @@ SCM_GIT_CHAR_GITHUB='•'
source "$BASH_IT"/bash_it.sh
```
## SSH prompt and sudoers
## SSH prompt
### Usage
When using a ssh session, the theme will display `user@fqdn`.
You can disable this information before sourcing bsah-it:
```bash
export BARBUK_SSH_INFO=false
source "$BASH_IT"/bash_it.sh
```
### Keep theme with sudoer
If you want the theme to persist using `sudo -s` in a ssh session, you need to configure sudo to keep the `HOME` and `SSH_CONNECTION` environment variables.