Fix $NIX_SHELL detection
Fix $NIX_SHELL detection

In recent versions of nix, NIX_SHELL is no longer set to 1 but "pure" or
"impure".  This means that the prompt would no longer change.  This change
accommodates for both cases.

spwhitt/nix-zsh-completions