mirror of
https://github.com/Powerlevel9k/powerlevel9k.git
synced 2024-09-21 02:17:14 +00:00
Fix root indicator segment
This commit is contained in:
parent
f7575f4955
commit
9e55b6b7fa
@ -22,6 +22,6 @@ p9k::register_segment "ROOT_INDICATOR" "" "${DEFAULT_COLOR}" "yellow" $'\u26A1'
|
||||
##
|
||||
prompt_root_indicator() {
|
||||
if [[ "$UID" -eq 0 ]]; then
|
||||
p9k::prepare_segment "$0" "" $1 "$2" $3 "" "true"
|
||||
p9k::prepare_segment "$0" "" $1 "$2" $3 "" "[[ true ]]"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user