A quick plugin for fish shell to ensure that nix is properly hooked into fish configuration.
If replay, bax (an older version of replay), or bass are installed, the
profile will be configured from $HOME/.nix-profile/etc/profile/nix.sh
using
those functions, otherwise it will be configured with a translated version of
nix.sh
.
Install with Fisher (recommended):
# Fisher 4.0+
fisher install halostatue/fish-nix@1.x
Not using a package manager?
Copy conf.d/*.fish
to your fish configuration directory preserving the
directory structure.
- fish 3.0+
- [direnv]