From 4c9d8c925da2936b2d845dbfa12b4f44de06172c Mon Sep 17 00:00:00 2001 From: Bruno Vernay Date: Sun, 19 Apr 2020 21:14:17 +0200 Subject: [PATCH] Add a warning about DEFAULT_USER in the context --- config/p10k-classic.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 15d11831..e7d47047 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -824,6 +824,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.