thoughtbot / dotfiles

A set of vim, zsh, git, and tmux configuration files.
https://thoughtbot.com
Other
7.99k stars 1.86k forks source link

Fix sourcing of asdf.sh #710

Closed abhineet97 closed 1 year ago

abhineet97 commented 1 year ago

Installing asdf via Homebrew now requires sourcing from a different path.

This same issue was recently fixed in thoughtbot/laptop by @cpytel, and so I've copied the changes from this commit: https://github.com/thoughtbot/laptop/commit/aa3a84e15e76af9bf3713c350354bc42e59749bc

cpytel commented 1 year ago

Thanks very much!

jasquat commented 1 year ago

@abhineet97, @cpytel this is invalid zsh syntax and cannot be loaded. The elif line (line 8) needs to be elif which brew >/dev/null; then.

abhineet97 commented 1 year ago

You're right, @jasquat! Yikes 😬

cpytel commented 1 year ago

Sorry and thanks for catching it. I've merged in the fix.