From 2f8f706d16fad5f7a28d2b2a31d025a5073dd0c5 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Thu, 25 Nov 2021 21:11:40 -0800 Subject: [PATCH] fix nix --- runcoms/zshenv | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runcoms/zshenv b/runcoms/zshenv index f065c52..b73b0c5 100644 --- a/runcoms/zshenv +++ b/runcoms/zshenv @@ -21,8 +21,7 @@ if command -v direnv &> /dev/null; then eval "$(direnv hook zsh)" fi -if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi -if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/etc/profile.d/nix.sh; fi # added by Nix installer +if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer if [ -e $HOME/.cargo/env ]; then . "$HOME/.cargo/env"; fi export PATH="$HOME/.dotfiles/bin:$HOME/.local/bin:$PATH"