mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
themes/powerline: Make sudo checks opt-in
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user