From 18536ed892fd90df81470710ea5a6a88c5eeec01 Mon Sep 17 00:00:00 2001 From: John D Pell Date: Wed, 12 Jan 2022 22:08:54 -0800 Subject: [PATCH] template: Add `$THEME_CHECK_SUDO` --- template/bash_profile.template.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template/bash_profile.template.bash b/template/bash_profile.template.bash index 75febdab..378950d9 100755 --- a/template/bash_profile.template.bash +++ b/template/bash_profile.template.bash @@ -14,6 +14,10 @@ export BASH_IT="{{BASH_IT}}" # location /.bash_it/themes/ export BASH_IT_THEME='bobby' +# Some themes can show whether `sudo` has a current token or not. +# Set `$THEME_CHECK_SUDO` to `true` to check every prompt: +#THEME_CHECK_SUDO='true' + # (Advanced): Change this to the name of your remote repo if you # cloned bash-it with a remote other than origin such as `bash-it`. # export BASH_IT_REMOTE='bash-it'