-
Notifications
You must be signed in to change notification settings - Fork 832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asdf shell failing should point out relevant file to source. #897
Conversation
Not sure if this will work, but we'll see in the CI.
Was using an older version, revert back to printf.
Fix linter
I take it this is only really going to be hit by Homebrew installations as to get this far you'd have already set this up via our other installation methods? |
Less than current situation, since I fixed both the installation and managed to add a caveat about it, less people should be hit. It isn’t exactly clear why you need to source it until you actually do, but by then you’re already forgotten the caveat. This should remind you. |
This should have a specific note about Homebrew then since only the users who setup the tool via Homebrew would see this. No other setups would need to source the It seems to better support Homebrew these changes you're making are going to result in a completely different code path through |
How is this specific to Homebrew? This will show up if you run the executable.
The error shows up.
I don't understand this sentence, how is either the error or the explanation related to Homebrew? I didn't add the error message, I explained how to fix it. " |
Yes, this is a simple change to add directions. I am wondering if the case in which this error shows is ever actually needed. Perhaps I should raise a different issue to discuss. |
Point being, users shouldn't ever need to source |
Better than no directions.
I don't source either files. If you're running the binary that's under
Maybe.
The thing is, TL;DR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Point being, users shouldn't ever need to source lib/asdf.sh themselves. So the error message perhaps means asdf.sh and this change is further erroneous.
I agree with this and I don't feel like this error message change is an improvement. I think we should either close this PR or change the error message to include a URL to relevant documentation.
Summary
asdf shell
will now point out what file to source.