You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
990 B
Plaintext

# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin:$PATH"
fi
8 months ago
if [ -d "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env"
8 months ago
fi
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
if [ -e '$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh' ]; then
. '$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh'
fi
# set PATH so it prioritizes ./cargo/bin over everything
if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.cargo/bin:$PATH"
fi
export XDG_DATA_DIRS=$HOME/.nix-profile/share:$HOME/.share:"${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"
# End Nix
eval $(ssh-agent)