From 78db4d56f082b9dc9458db915e66904affe3b272 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Wed, 1 Apr 2020 01:02:24 +0400 Subject: [PATCH] Update documentation to explain new BARBUK_HOST_INFO configuration --- themes/barbuk/README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/themes/barbuk/README.md b/themes/barbuk/README.md index 736fd0ba..06cce8de 100644 --- a/themes/barbuk/README.md +++ b/themes/barbuk/README.md @@ -42,10 +42,16 @@ source "$BASH_IT"/bash_it.sh ### Usage -When using a ssh session, the theme will display `user@fqdn`. -You can disable this information before sourcing bsah-it: +When using a ssh session, the theme will display `user@hostname`. +You can disable this information with `BARBUK_SSH_INFO`. + +The hostname is display in the FQDN format by default. You +can use the short hostname format with `BARBUK_HOST_INFO`. ```bash +# short or long +export BARBUK_HOST_INFO=short +# true or false export BARBUK_SSH_INFO=false source "$BASH_IT"/bash_it.sh ``` @@ -87,5 +93,5 @@ chmod 400 /etc/sudoers.d/keepenv ### Ssh ```bash -user@fqdn in  ~/bash-it on  master ✓ ❯ +user@hostname in  ~/bash-it on  master ✓ ❯ ```