mirror of
https://git.sr.ht/~danbarber/dotfiles
synced 2025-03-04 08:59:18 +00:00
15 lines
393 B
Bash
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
|