add nix, cargo to zshenv

Alpha Chen 3 years ago
parent ba4c20236b
commit dc22a84596

@ -24,3 +24,5 @@ if command -v direnv &> /dev/null; then
fi fi
if [ -e ~/.nix-profile/etc/profile.d/nix.sh ]; then . ~/.nix-profile/etc/profile.d/nix.sh; fi if [ -e ~/.nix-profile/etc/profile.d/nix.sh ]; then . ~/.nix-profile/etc/profile.d/nix.sh; fi
if [ -e /Users/alpha/.nix-profile/etc/profile.d/nix.sh ]; then . /Users/alpha/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
. "$HOME/.cargo/env"

Loading…
Cancel
Save