Fish: Difference between revisions

imported>HLandau
No edit summary
imported>T-gebauer
m Since Nix 2.0 the values are "pure" and "impure"
Line 23: Line 23:
<syntaxhighlight lang="fish">
<syntaxhighlight lang="fish">
set -l nix_shell_info (
set -l nix_shell_info (
   if test "$IN_NIX_SHELL" = "1"
   if test -n "$IN_NIX_SHELL"
     echo -n "<nix-shell> "
     echo -n "<nix-shell> "
   end
   end