From 7cae8ba61e622b78abdd5b6c3e39e6f2edeea017 Mon Sep 17 00:00:00 2001 From: daniel Date: Sat, 18 Mar 2023 12:22:53 +0100 Subject: [PATCH] context --- profiles/base/.p10k.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/profiles/base/.p10k.zsh b/profiles/base/.p10k.zsh index 329bbba..f8f42e8 100644 --- a/profiles/base/.p10k.zsh +++ b/profiles/base/.p10k.zsh @@ -33,6 +33,7 @@ typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( # =========================[ Line #1 ]========================= # os_icon # os identifier + context # user#hostname dir # current directory vcs # git status # =========================[ Line #2 ]========================= @@ -85,7 +86,7 @@ gcloud # google cloud cli account and project (https://cloud.google.com/) google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production) toolbox # toolbox name (https://github.com/containers/toolbox) - context # user@hostname + # context # user@hostname nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) ranger # ranger shell (https://github.com/ranger/ranger) nnn # nnn shell (https://github.com/jarun/nnn) @@ -888,7 +889,7 @@ ##################################[ context: user@hostname ]################################## # Context color when running with privileges. - typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=178 + typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=160 # Context color in SSH without privileges. typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_FOREGROUND=180 # Default context color (no privileges, no SSH).