Fish: Difference between revisions

imported>Jtojnar
clarify fish_prompt location
imported>Jtojnar
m spacing
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 the <code>fish_prompt</code>function (usually placed in <code>~/.config/fish/functions/fish_prompt.fish
Add this to the <code>fish_prompt</code> function (usually placed in <code>~/.config/fish/functions/fish_prompt.fish</code>):
</code>):


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