From 97f7082085ca5e4b2c158ba7838b1dc1cbdfbaf4 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 11 Jun 2018 14:15:41 -0700 Subject: [PATCH] Use $HOME to source nix stuff --- dotfiles/lib/shellpath.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/lib/shellpath.sh b/dotfiles/lib/shellpath.sh index 0fad8800..acb1faaf 100644 --- a/dotfiles/lib/shellpath.sh +++ b/dotfiles/lib/shellpath.sh @@ -139,7 +139,7 @@ function _haskell_setup { } function _nix_setup { - if [ -e /home/imalison/.nix-profile/etc/profile.d/nix.sh ]; then - . /home/imalison/.nix-profile/etc/profile.d/nix.sh; + if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then + . $HOME/.nix-profile/etc/profile.d/nix.sh; fi }