Fish: Difference between revisions

imported>T-gebauer
m Since Nix 2.0 the values are "pure" and "impure"
imported>Jtojnar
clarify fish_prompt location
Line 19: Line 19:
== Useful scripts ==
== Useful scripts ==
=== Show that you are in a nix-shell ===
=== Show that you are in a nix-shell ===
Add this to <code>fish/fish_prompt.fish</code>:
Add this to the <code>fish_prompt</code>function (usually placed in <code>~/.config/fish/functions/fish_prompt.fish
</code>):


<syntaxhighlight lang="fish">
<syntaxhighlight lang="fish">