Skip to content

Instantly share code, notes, and snippets.

@notahat
Created June 24, 2022 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notahat/52210231dcd6b176e9f26fd89b8fae4a to your computer and use it in GitHub Desktop.
Save notahat/52210231dcd6b176e9f26fd89b8fae4a to your computer and use it in GitHub Desktop.
# Here's everything I have in my .zshrc to set up my PATH for homebrew and asdf:
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
eval "$(/opt/homebrew/bin/brew shellenv)"
source $HOMEBREW_PREFIX/opt/asdf/libexec/asdf.sh
# The resulting $PATH looks like this:
#
# /Users/notahat/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/bin:/bin:/usr/sbin:/sbin
@MelissaKaulfuss
Copy link

Nice! I may have fucked my path even more since the other day. But I'll give this setup a go given that we both use asdf and zshrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment