diff --git a/.config/shell/p10k/simple.p10k.zsh b/.config/shell/p10k/simple.p10k.zsh index a709cde..93c1d04 100644 --- a/.config/shell/p10k/simple.p10k.zsh +++ b/.config/shell/p10k/simple.p10k.zsh @@ -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