dotfiles/.profile

27 lines
581 B
Bash

# 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
if [ -d "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env"
fi
if [ -d "$HOME/go" ]; then
GOPATH="$HOME/go"
fi
export NVM_DIR="$HOME/.nvm"
if [ -s "$NVM_DIR/nvm.sh" ]; then
\. "$NVM_DIR/nvm.sh" # This loads nvm
\. "$NVM_DIR/bash_completion" # nvm bash completions
fi
if [ -s "$HOME/.local_profile" ]; then
\. "$HOME/.local_profile"
fi