dotfiles/dot_config/zsh/configs/post/path.zsh
2024-09-26 16:35:01 -05:00

15 lines
393 B
Bash

# ensure dotfiles bin directory is loaded first
PATH="$HOME/.bin:/usr/local/sbin:$PATH"
# Try loading ASDF from the regular home dir location
if [ -f "$HOME/.asdf/asdf.sh" ]; then
. "$HOME/.asdf/asdf.sh"
elif which brew >/dev/null; then
. "$(brew --prefix asdf)/libexec/asdf.sh"
fi
# mkdir .git/safe in the root of repositories you trust
PATH=".git/safe/../../bin:$PATH"
export -U PATH