# # Defines environment variables. # # Authors: # Sorin Ionescu # # Ensure that a non-login, non-interactive shell has a defined environment. if [[ ( "$SHLVL" -eq 1 && ! -o LOGIN ) && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then source "${ZDOTDIR:-$HOME}/.zprofile" fi 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/.local/bin:$HOME/.dotfiles/bin:$PATH"