Fish: Difference between revisions

imported>Fadenb
Created page with "Fish is the [http://fishshell.com/ Friendly Interactive SHell]. At the moment it’s not possible to use fish as login shell. But you can always start it as default shell of..."
 
imported>Mic92
No edit summary
Line 1: Line 1:
Fish is the [http://fishshell.com/ Friendly Interactive SHell].
Fish is the [http://fishshell.com/ Friendly Interactive SHell].


At the moment it’s not possible to use fish as login shell. But you can always start it as default shell of your terminal emulator.
== Fish as login shell ==
 
The following set up fish as a login shell for the user <code>myuser</code>
 
<syntaxhighlight lang="nix">
programs.fish.enable = true;
users.extraUsers.myuser = {
  shell = "/run/current-system/sw/bin/fish";
};
</syntaxhighlight>


== Useful scripts ==
== Useful scripts ==