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.