diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-01-30 10:25:24 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-01-30 10:25:24 +0300 |
commit | 73878f398ac5ba73ff858e215b0045bf41d493c4 (patch) | |
tree | 8511853177277e38683cf5c89cbfb2cd549d8720 /config/p10k-rainbow.zsh | |
parent | 0a4b832b25b4c7f4525a3558dfe73501f4c3b8bd (diff) |
add nix_shell prompt segment; see #448
Diffstat (limited to 'config/p10k-rainbow.zsh')
-rw-r--r-- | config/p10k-rainbow.zsh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index 808236e9..37da7fb8 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -78,6 +78,7 @@ nnn # nnn shell (https://github.com/jarun/nnn) vim_shell # vim shell indicator (:sh) midnight_commander # midnight commander shell (https://midnight-commander.org/) + nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) vi_mode # vi mode (you don't need this if you've enabled prompt_char) # vpn_ip # virtual private network indicator # load # CPU load @@ -550,6 +551,17 @@ # Custom icon. # typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_VISUAL_IDENTIFIER_EXPANSION='⭐' + #[ nix_shell: nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) ]## + # Nix shell color. + # typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=0 + # typeset -g POWERLEVEL9K_NIX_SHELL_BACKGROUND=4 + + # Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line. + # typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION= + + # Custom icon. + # typeset -g POWERLEVEL9K_NIX_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐' + ##################################[ disk_usgae: disk usage ]################################## # Colors for different levels of disk usage. # typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=3 |