From 735bf7d7f3b85506446e03a0045f137e438cf340 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 13 Jun 2018 21:36:41 -0700 Subject: Source hm-session-vars.hs just in case --- home.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 8753206..77bc9c1 100644 --- a/home.nix +++ b/home.nix @@ -132,7 +132,9 @@ in bash = { enable = true; initExtra = '' - [[ -f ~/.nix-profile/etc/profile.d/nix.sh ]] && . ~/.nix-profile/etc/profile.d/nix.sh + DIR=~/.nix-profile/etc/profile.d + [[ -f "$DIR/nix.sh" ]] && . "$DIR/nix.sh" + [[ -f "$DIR/hm-session-vars.sh" ]] && . "$DIR/hm-session-vars.sh" ''; shellAliases = { #z = "fasd_cd -d"; # cd, same functionality as j in autojump -- cgit v1.2.3