mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
specify different context template for root
This commit is contained in:
parent
ba39eb3421
commit
86c52722d9
1 changed files with 3 additions and 1 deletions
|
@ -389,10 +389,12 @@ fi
|
|||
# typeset -g POWERLEVEL9K_NORDVPN_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
####################################[ context: user@host ]####################################
|
||||
# Context format: user@host.
|
||||
# Default context format: %n is username, %m is hostname.
|
||||
typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE='%n@%m'
|
||||
# Default context color.
|
||||
typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=180
|
||||
# Context format when running with privileges: %n is username, %m is hostname.
|
||||
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%n@%m'
|
||||
# Context color when running with privileges.
|
||||
typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=227
|
||||
# Don't show context unless running with privileges on in SSH.
|
||||
|
|
Loading…
Reference in a new issue