aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-04-12 12:07:32 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-04-12 12:07:32 +0300
commitbab655fb1f457de5ae5ad9f3c425a2e5186aa6b8 (patch)
tree56bae27879797a4cb42313163754f3d001b4c0ec /config
parentfb1287fedbb877201572d164ba0bad5c9d375b4f (diff)
do not infer nix_shell from PATH unless POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH is set to true (#2246)
Diffstat (limited to 'config')
-rw-r--r--config/p10k-classic.zsh3
-rw-r--r--config/p10k-lean-8colors.zsh3
-rw-r--r--config/p10k-lean.zsh3
-rw-r--r--config/p10k-rainbow.zsh3
4 files changed, 12 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index aead8089..441be2ce 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -752,6 +752,9 @@
# Nix shell color.
typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=74
+ # Display the icon of nix_shell if PATH contains a subdirectory of /nix/store.
+ # typeset -g POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH=false
+
# Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line.
# typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION=
diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh
index c40b3efa..50e42617 100644
--- a/config/p10k-lean-8colors.zsh
+++ b/config/p10k-lean-8colors.zsh
@@ -750,6 +750,9 @@
# Nix shell color.
typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=4
+ # Display the icon of nix_shell if PATH contains a subdirectory of /nix/store.
+ # typeset -g POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH=false
+
# Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line.
# typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION=
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 3009d464..b938ce69 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -746,6 +746,9 @@
# Nix shell color.
typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=74
+ # Display the icon of nix_shell if PATH contains a subdirectory of /nix/store.
+ # typeset -g POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH=false
+
# Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line.
# typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION=
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh
index 775b919e..e989b0a7 100644
--- a/config/p10k-rainbow.zsh
+++ b/config/p10k-rainbow.zsh
@@ -777,6 +777,9 @@
typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=0
typeset -g POWERLEVEL9K_NIX_SHELL_BACKGROUND=4
+ # Display the icon of nix_shell if PATH contains a subdirectory of /nix/store.
+ # typeset -g POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH=false
+
# Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line.
# typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION=