zsh: p10k - add nix_shell to simple config

This commit is contained in:
PowerUser64 2023-06-16 03:49:27 -07:00
parent 25d56ca80c
commit 92ac9d4940

View file

@ -60,10 +60,15 @@
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
# command_execution_time # previous command duration
# virtualenv # python virtual environment
nix_shell # nix shell
# context # user@host
time # current time
)
#[ nix_shell: nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) ]##
# Nix shell color.
typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=4
# Basic style options that define the overall prompt look.
typeset -g POWERLEVEL9K_BACKGROUND= # transparent background
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_{LEFT,RIGHT}_WHITESPACE= # no surrounding whitespace