Show full hostname instead of to first .

This commit is contained in:
Gnarwhal 2024-07-30 23:17:05 +00:00
parent 57328ab49d
commit a26f997199
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174

View file

@ -981,11 +981,11 @@
typeset -g POWERLEVEL9K_CONTEXT_BACKGROUND=0
# Context format when running with privileges: user@hostname.
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%n@%m'
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%n@%M'
# Context format when in SSH without privileges: user@hostname.
typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_TEMPLATE='%n@%m'
typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_TEMPLATE='%n@%M'
# Default context format (no privileges, no SSH): user@hostname.
typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE='%n@%m'
typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE='%n@%M'
# Don't show context unless running with privileges or in SSH.
# Tip: Remove the next line to always show context.