Fish: Difference between revisions
imported>Legendofmiracles m fixed the small mess i created ;-; |
imported>Legendofmiracles fish plugins in nixkpgs |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:fish}} | {{DISPLAYTITLE:fish}} | ||
fish is the [http://fishshell.com/ Friendly Interactive | fish is the [http://fishshell.com/ Friendly Interactive Shell]. | ||
==Setting fish as the login shell== | ==Setting fish as the login shell== | ||
| Line 21: | Line 21: | ||
In order to manage fish with home manager you also have to enable it in your <code>home.nix</code>. | In order to manage fish with home manager you also have to enable it in your <code>home.nix</code>. | ||
Then you can add new ones by adding them to the list of submodules of <code>programs.fish.plugins</code>. So for example for the plugin <code>z</code> from jethrokuan on github. | Then you can add new ones by adding them to the list of submodules of <code>programs.fish.plugins</code>. | ||
=== Manual === | |||
So for example for the plugin <code>z</code> from jethrokuan on github. | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
| Line 35: | Line 38: | ||
}]; | }]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== nixpkgs === | |||
Or you can use some of the [https://search.nixos.org/packages?channel=unstable&from=0&size=50&buckets=%7B%22package_attr_set%22%3A%5B%22fishPlugins%22%5D%2C%22package_license_set%22%3A%5B%5D%2C%22package_maintainers_set%22%3A%5B%5D%2C%22package_platforms%22%3A%5B%5D%7D&sort=relevance&query=fishPlugins packaged plugins], by just adding them to the list. | |||
== Useful scripts == | == Useful scripts == | ||