themes/powerline: Make sudo checks opt-in

This commit is contained in:
Koichi Murase
2022-01-18 15:48:04 +09:00
parent b805006ccf
commit 1d1b160a8d
+1 -1
View File
@@ -1,7 +1,7 @@
#! bash oh-my-bash.module
# Define this here so it can be used by all of the Powerline themes
THEME_CHECK_SUDO=${THEME_CHECK_SUDO:=true}
THEME_CHECK_SUDO=${THEME_CHECK_SUDO:=false}
function set_color {
if [[ "${1}" != "-" ]]; then