Fish: Difference between revisions

imported>Legendofmiracles
m home-manager fish.plugins doesn't support pkgs yet
imported>Flexagoon
No edit summary
Line 2: Line 2:
fish is the [http://fishshell.com/ Friendly Interactive Shell].
fish is the [http://fishshell.com/ Friendly Interactive Shell].


==Setting fish as the login shell==
==Setting fish as the default shell==
The following <tt>/etc/nixos/configuration.nix</tt> fragment demonstrates how to enable fish and set it as the default shell for user <tt>foo</tt>.
See [[Command Shell#Changing default shell]].
 
<syntaxhighlight lang="nix">
{
  ...
  programs.fish.enable = true;
 
  users.users.foo = {
    shell = pkgs.fish;
  };
  ...
}
</syntaxhighlight>


== Managing fish plugins with Home Manager ==
== Managing fish plugins with Home Manager ==