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.
30 lines
826 B
Plaintext
30 lines
826 B
Plaintext
8 months ago
|
# 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
|
||
|
. "$HOME/.cargo/env"
|
||
|
|
||
|
|
||
|
# 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
|
||
|
export XDG_DATA_DIRS=$HOME/.nix-profile/share:$HOME/.share:"${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"
|
||
|
# End Nix
|