mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
fish: prepend fenv functions dir
Instead of concatenating the `fish_function_path` with the fenv functions path, just prepend it. Functionally the same, but looks cleaner (IMO).
This commit is contained in:
parent
a08dabf015
commit
89239d554d
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ in
|
|||
# if we haven't sourced the general config, do it
|
||||
if not set -q __fish_general_config_sourced
|
||||
|
||||
set fish_function_path ${pkgs.fish-foreign-env}/share/fish-foreign-env/functions $fish_function_path
|
||||
set -p fish_function_path ${pkgs.fish-foreign-env}/share/fish-foreign-env/functions
|
||||
fenv source ${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh > /dev/null
|
||||
set -e fish_function_path[1]
|
||||
|
||||
|
|
Loading…
Reference in a new issue