dotfiles/any/bash/.bash_profile
Diego Fernando Carrión 4f61cff440 refresh macos
2021-08-26 18:42:22 +02:00

29 lines
709 B
Bash

# ~/.bash_profile
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ]; then
export PATH="$HOME/bin:$PATH"
fi
[ -d "$HOME/devel/venvs" ] && export WORKON_HOME=~/devel/venvs
[ -d "$HOME/devel/go" ] && export GOPATH=$HOME/devel/go
[ -d /usr/local/go/bin ] && export PATH=/usr/local/go/bin:$PATH
[ -d "$HOME/.local/bin" ] && export PATH=$HOME/.local/bin:$PATH
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
if command -v go 1>/dev/null 2>&1
then
export PATH=$PATH:$(go env GOPATH)/bin
fi
if [[ "$OSTYPE" == "linux-gnu"* && ! -f /etc/debian_version ]]
then
echo
fi
[ -f ~/.bash_profile.local ] && . "$HOME/.bash_profile.local"
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"