From 11661690b37c5b11b4be78e30d1b9b1c6e972bb1 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"