# In ZSH, $path is an array while $PATH is a string.
# Modifying one apparently modifies the other.
# See http://superuser.com/questions/598810/zsh-config-to-export-or-not-to-export/598924#598924
# for more info.

path=(
  /usr/local/bin
  /usr/local/sbin
  /usr/local/heroku/bin
  $ZSH/bin
  ./node_modules/.bin
  ~/.yarn/bin
  $path
)

# adjust the path for ASDF
. $(brew --prefix asdf)/asdf.sh

path=(
  # make sure ./bin is at the front so things like binstubs
  # take precedence over system-wide libraries (e.g. bin/rake vs rake)
  ./bin
  $path
)

export PATH

# In ZSH, $path is an array while $PATH is a string.
# Modifying one apparently modifies the other.
# See http://superuser.com/questions/598810/zsh-config-to-export-or-not-to-export/598924#598924
# for more info.

path=(
  /usr/local/bin
  /usr/local/sbin
  /usr/local/heroku/bin
  $ZSH/bin
  ./node_modules/.bin
  ~/.yarn/bin
  $path
)

# adjust the path for ASDF
. $(brew --prefix asdf)/libexec/asdf.sh

path=(
  # make sure ./bin is at the front so things like binstubs
  # take precedence over system-wide libraries (e.g. bin/rake vs rake)
  ./bin
  $path
)

export PATH

Update asdf sourcing for 0.9+
Update asdf sourcing for 0.9+
