zsh: p10k - add nix_shell to simple config
This commit is contained in:
parent
25d56ca80c
commit
92ac9d4940
1 changed files with 5 additions and 0 deletions
|
@ -60,10 +60,15 @@
|
||||||
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
||||||
# command_execution_time # previous command duration
|
# command_execution_time # previous command duration
|
||||||
# virtualenv # python virtual environment
|
# virtualenv # python virtual environment
|
||||||
|
nix_shell # nix shell
|
||||||
# context # user@host
|
# context # user@host
|
||||||
time # current time
|
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.
|
# Basic style options that define the overall prompt look.
|
||||||
typeset -g POWERLEVEL9K_BACKGROUND= # transparent background
|
typeset -g POWERLEVEL9K_BACKGROUND= # transparent background
|
||||||
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_{LEFT,RIGHT}_WHITESPACE= # no surrounding whitespace
|
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_{LEFT,RIGHT}_WHITESPACE= # no surrounding whitespace
|
||||||
|
|
Loading…
Add table
Reference in a new issue