Nix environment setup for the fish shell
Go to file
Lily Ballard 7b65bd2284
Merge pull request #10 from pyoio/pyoio/fish-command
Use command to avoid aliases/builtins
2021-11-29 11:20:44 -08:00
conf.d Use command to avoid aliases/builtins 2021-11-29 09:48:25 +00:00
LICENSE Initial commit 2019-06-23 22:53:07 -07:00
README.md Update fisher command 2021-02-04 19:31:09 -08:00

nix-env.fish

Sets up the Nix environment for a non-NixOS Fish shell.

Beyond just setting up $PATH and the various $NIX_* environment variables, this also sets up $fish_function_path and $fish_complete_path to include any Nix-installed Fish functions/completions, and sources any Nix-installed Fish conf.d.

Install

Any Fish package manager should be able to install this.

Fisher

fisher install lilyball/nix-env.fish

Manual install

You can install this manually by copying or symlinking the conf.d/nix-env.fish file into your ~/.config/fish/conf.d/ folder.