mirror of
https://github.com/KiTTYsh/dotfiles.git
synced 2025-12-09 20:59:16 -05:00
zsh: add widget definitions
This commit is contained in:
10
zsh/zshrc
10
zsh/zshrc
@@ -88,7 +88,9 @@ function context-color() {
|
|||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|
||||||
POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND=$(context-color)
|
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)
|
||||||
POWERLEVEL9K_CONTEXT_REMOTE_BACKGROUND=$(context-color)
|
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)
|
||||||
POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND=15
|
typeset -g POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND=$(context-color)
|
||||||
POWERLEVEL9K_CONTEXT_REMOTE_FOREGROUND=15
|
typeset -g POWERLEVEL9K_CONTEXT_REMOTE_BACKGROUND=$(context-color)
|
||||||
|
typeset -g POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND=15
|
||||||
|
typeset -g POWERLEVEL9K_CONTEXT_REMOTE_FOREGROUND=15
|
||||||
|
|||||||
Reference in New Issue
Block a user