diff --git a/home-manager/common.nix b/home-manager/common.nix index 6733a0e..a541063 100644 --- a/home-manager/common.nix +++ b/home-manager/common.nix @@ -50,7 +50,9 @@ inputs: shellInit = '' # Load nix shit on non-NixOS computers (yea yea laugh it up we all have legacy machines somewhere) if not set -q NIX_PATH + set --prepend fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish/vendor_functions.d fenv source $HOME/.nix-profile/etc/profile.d/nix.sh + set -e fish_function_path[1] end ''; interactiveShellInit = ''