# if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi # if `$HOME/.local/bin` exists, add it to $PATH if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi # if `$HOME/.cargo/bin` exists, add it to $PATH if [ -d "$HOME/.cargo/bin" ] ; then PATH="$HOME/.cargo/bin:$PATH" fi # if `$HOME/go/bin` exists, add it to $GOPATH if [ -d "$HOME/.go/bin" ] ; then GOPATH="$HOME/.go/bin" PATH="$GOPATH:$PATH" fi # if `/usr/local/go/bin` exists, add it and $GOPATH to $PATH if [ -d "/usr/local/go/bin" ] ; then PATH="/usr/local/go/bin:$GOPATH:$PATH" fi # ssh agent eval `ssh-agent`