From 4b6fe570a781f26c9a560440c84279c8db18eb37 Mon Sep 17 00:00:00 2001 From: Astrid Yu Date: Tue, 3 Dec 2024 11:51:28 -0800 Subject: [PATCH] p10k tweaks --- nix/home-manager/astral/cli/p10k.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/home-manager/astral/cli/p10k.zsh b/nix/home-manager/astral/cli/p10k.zsh index 3e1c49e0..0342fb06 100644 --- a/nix/home-manager/astral/cli/p10k.zsh +++ b/nix/home-manager/astral/cli/p10k.zsh @@ -193,7 +193,7 @@ # Red prompt symbol if the last command failed. typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=1 # Default prompt symbol. - typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIINS_CONTENT_EXPANSION='>' + typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIINS_CONTENT_EXPANSION='%(\%)' # Prompt symbol in command vi mode. typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VICMD_CONTENT_EXPANSION='<' # Prompt symbol in visual vi mode. @@ -1590,7 +1590,7 @@ # - always: Trim down prompt when accepting a command line. # - same-dir: Trim down prompt when accepting a command line unless this is the first command # typed after changing current working directory. - typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=always + typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=same-dir # Instant prompt mode. #