From 2bff6e518833024cb96a92996cd96ef6490db54d Mon Sep 17 00:00:00 2001 From: gnidorah Date: Sun, 9 Sep 2018 15:41:36 +0300 Subject: [PATCH] fish module: envoke hm-session-vars.sh --- modules/programs/fish.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/programs/fish.nix b/modules/programs/fish.nix index fbef818b2..d384ec2a1 100644 --- a/modules/programs/fish.nix +++ b/modules/programs/fish.nix @@ -79,7 +79,10 @@ in # ~/.config/fish/config.fish: DO NOT EDIT -- this file has been generated automatically. # 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 + fenv source ${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh > /dev/null + set -e fish_function_path[1] + ${cfg.shellInit} # and leave a note so we don't source this config section again from # this very shell (children will source the general config anew)