Update dotfiles/.profile

This commit is contained in:
Brian Zalewski 2022-11-01 03:08:04 +00:00
parent 66a0fea5fa
commit be0f0e82ed

View file

@ -205,20 +205,24 @@ export PATH="$PATH:${GOPATH}/bin"
if command -v brew >/dev/null; then if command -v brew >/dev/null; then
### Go ### Go
GOROOT="$(brew --prefix golang)/libexec" if command -v go > /dev/null; then
export GOROOT GOROOT="$(brew --prefix golang)/libexec"
export PATH="$PATH:${GOROOT}/bin" export GOROOT
export PATH="$PATH:${GOROOT}/bin"
fi
### ASDF ### ASDF
export ASDF_CONFIG_FILE="$HOME/.config/asdf/asdfrc" if command -v asdf > /dev/null; then
export ASDF_DIR="$HOME/.local/asdf" export ASDF_CONFIG_FILE="$HOME/.config/asdf/asdfrc"
export ASDF_DATA_DIR="$HOME/.local/asdf" export ASDF_DIR="$HOME/.local/asdf"
export ASDF_CRATE_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-cargo-pkgs # export ASDF_DATA_DIR="$HOME/.local/asdf"
export ASDF_GEM_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-ruby-pkgs export ASDF_CRATE_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-cargo-pkgs
export ASDF_GOLANG_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-golang-pkgs export ASDF_GEM_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-ruby-pkgs
export ASDF_PYTHON_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-python-pkgs export ASDF_GOLANG_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-golang-pkgs
if [ -f "$(brew --prefix asdf)/libexec/asdf.sh" ]; then export ASDF_PYTHON_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-python-pkgs
. "$(brew --prefix asdf)/libexec/asdf.sh" if [ -f "$(brew --prefix asdf)/libexec/asdf.sh" ]; then
. "$(brew --prefix asdf)/libexec/asdf.sh"
fi
fi fi
fi fi