nixos/fish: Fix foreign-env function path

This commit is contained in:
talyz 2021-01-24 13:41:37 +01:00
parent c2785a405b
commit 6230ff7dd8
No known key found for this signature in database
GPG Key ID: 2DED2151F4671A2B

View File

@ -24,7 +24,7 @@ let
"source /etc/fish/${file}.fish"
else
''
set fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish-foreign-env/functions $fish_function_path
set fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish/vendor_functions.d $fish_function_path
fenv source /etc/fish/foreign-env/${file} > /dev/null
set -e fish_function_path[1]
'';