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
.
Any Fish package manager should be able to install this.
fisher install lilyball/nix-env.fish
You can install this manually by copying or symlinking the conf.d/nix-env.fish
file into your ~/.config/fish/conf.d/
folder.