diff --git a/zsh/zshrc b/zsh/zshrc index 8a95e57..7282e71 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -88,7 +88,9 @@ function context-color() { # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh -POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND=$(context-color) -POWERLEVEL9K_CONTEXT_REMOTE_BACKGROUND=$(context-color) -POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND=15 -POWERLEVEL9K_CONTEXT_REMOTE_FOREGROUND=15 +typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir vcs direnv asdf virtualenv anaconda pyenv goenv nodenv nvm nodeenv rbenv rvm fvm luaenv jenv plenv perlbrew phpenv scalaenv haskell_stack kubecontext terraform aws aws_eb_env azure gcloud google_app_cred toolbox newline context prompt_char) +typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status command_execution_time background_jobs ranger nnn lf xplr vim_shell midnight_commander nix_shell chezmoi_shell todo timewarrior taskwarrior time newline load ram swap battery) +typeset -g POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND=$(context-color) +typeset -g POWERLEVEL9K_CONTEXT_REMOTE_BACKGROUND=$(context-color) +typeset -g POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND=15 +typeset -g POWERLEVEL9K_CONTEXT_REMOTE_FOREGROUND=15