Fish: Difference between revisions
imported>Mic92 No edit summary |
imported>HLandau No edit summary |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:fish}} | |||
fish is the [http://fishshell.com/ Friendly Interactive SHell]. | |||
== | ==Setting fish as the login 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>. | |||
<syntaxhighlight lang="nix"> | |||
{ | |||
... | |||
programs.fish.enable = true; | |||
users.extraUsers.foo = { | |||
shell = "/run/current-system/sw/bin/fish"; | |||
users.extraUsers. | }; | ||
... | |||
}; | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||