13 lines
335 B
Bash
13 lines
335 B
Bash
# source the nix profile if it exists
|
|
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
|
|
. $HOME/.nix-profile/etc/profile.d/nix.sh
|
|
fi
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
if [ -d "$HOME/bin" ] ; then
|
|
PATH="$HOME/bin:$PATH"
|
|
fi
|
|
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
|
PATH="$HOME/.local/bin:$PATH"
|
|
fi
|