lib/theme: disable THEME_CHECK_SUDO

Move `$THEME_CHECK_SUDO` to `lib/them`, and set it to `false` instead of `true`.
This commit is contained in:
John D Pell
2022-01-12 21:59:40 -08:00
parent 973a1f9b40
commit 21942f6275
3 changed files with 3 additions and 6 deletions

View File

@@ -1,9 +1,6 @@
# shellcheck shell=bash
# shellcheck disable=SC2034 # Expected behavior for themes.
# Define this here so it can be used by all of the Powerline themes
THEME_CHECK_SUDO=${THEME_CHECK_SUDO:=true}
function set_color() {
local fg='' bg=''
if [[ "${1:-}" != "-" ]]; then