summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-02-13 17:35:21 +0100
committerlassulus <lassulus@lassul.us>2018-02-13 17:35:21 +0100
commitf7606723eddae1e6a70a4b6374a950ed3503346a (patch)
treebc60d32b7e3f1a5a70e67bdb23b30c1fcc2a1ee6
parentdf18d18ab36953a6c4179d5cb638e1d99d2ee182 (diff)
l zsh: check for
-rw-r--r--lass/2configs/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/2configs/zsh.nix b/lass/2configs/zsh.nix
index 0a32ce510..aa3e6731d 100644
--- a/lass/2configs/zsh.nix
+++ b/lass/2configs/zsh.nix
@@ -108,7 +108,7 @@
fi
#check if in nix shell
- if test -n "$buildInputs"; then
+ if test -n "$IN_NIX_SHELL"; then
p_nixshell='%F{green}[s]%f '
t_nixshell='[s] '
else