mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-11 05:55:29 +00:00
update p10k
This commit is contained in:
10
dot_p10k.zsh
10
dot_p10k.zsh
@@ -34,6 +34,7 @@
|
|||||||
# =========================[ Line #1 ]=========================
|
# =========================[ Line #1 ]=========================
|
||||||
# os_icon # os identifier
|
# os_icon # os identifier
|
||||||
status
|
status
|
||||||
|
context
|
||||||
dir # current directory
|
dir # current directory
|
||||||
vcs # git status
|
vcs # git status
|
||||||
# =========================[ Line #2 ]=========================
|
# =========================[ Line #2 ]=========================
|
||||||
@@ -86,7 +87,7 @@
|
|||||||
gcloud # google cloud cli account and project (https://cloud.google.com/)
|
gcloud # google cloud cli account and project (https://cloud.google.com/)
|
||||||
google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production)
|
google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production)
|
||||||
toolbox # toolbox name (https://github.com/containers/toolbox)
|
toolbox # toolbox name (https://github.com/containers/toolbox)
|
||||||
context # user@hostname
|
#context # user@hostname
|
||||||
nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
|
nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
|
||||||
ranger # ranger shell (https://github.com/ranger/ranger)
|
ranger # ranger shell (https://github.com/ranger/ranger)
|
||||||
yazi # yazi shell (https://github.com/sxyazi/yazi)
|
yazi # yazi shell (https://github.com/sxyazi/yazi)
|
||||||
@@ -935,12 +936,13 @@
|
|||||||
# Default context color (no privileges, no SSH).
|
# Default context color (no privileges, no SSH).
|
||||||
typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=180
|
typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=180
|
||||||
|
|
||||||
|
typeset -g POWERLEVEL9K_CONTEXT_REMOTE_SUDO_TEMPLATE='%B%n@%m'
|
||||||
# Context format when running with privileges: bold user@hostname.
|
# Context format when running with privileges: bold user@hostname.
|
||||||
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%B%n@%m'
|
|
||||||
# Context format when in SSH without privileges: user@hostname.
|
# Context format when in SSH without privileges: user@hostname.
|
||||||
typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_TEMPLATE='%n@%m'
|
typeset -g POWERLEVEL9K_CONTEXT_REMOTE_TEMPLATE='%n@%m'
|
||||||
# Default context format (no privileges, no SSH): user@hostname.
|
# Default context format (no privileges, no SSH): user@hostname.
|
||||||
typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE='%n@%m'
|
typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE='%n'
|
||||||
|
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%B%n'
|
||||||
|
|
||||||
# Don't show context unless running with privileges or in SSH.
|
# Don't show context unless running with privileges or in SSH.
|
||||||
# Tip: Remove the next line to always show context.
|
# Tip: Remove the next line to always show context.
|
||||||
|
|||||||
Reference in New Issue
Block a user