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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user