From 1df634c36a8969ac491773f61cdd08b94a4b2d98 Mon Sep 17 00:00:00 2001 From: Bruno Vernay Date: Sun, 19 Apr 2020 21:11:57 +0200 Subject: [PATCH] Add a warning about DEFAULT_USER Solve #640 --- config/p10k-lean.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index bd68916e..246470c6 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -802,6 +802,8 @@ # Tip: Remove the next line to always show context. typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION= + # Warning: The context is NEVER shown when DEFAULT_USER is set ! (It has precedence over the other variables) + # Custom icon. # typeset -g POWERLEVEL9K_CONTEXT_VISUAL_IDENTIFIER_EXPANSION='⭐' # Custom prefix.