We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It appears the quoting might be a different to allow the HOMEBREW_PREFIX variable to properly resolve to its contents in the tee command:
echo 'export PATH="${HOMEBREW_PREFIX}/opt/openssl/bin:$PATH"'
results in shell files getting:
export PATH="${HOMEBREW_PREFIX}/opt/openssl/bin:$PATH"
While,
echo 'export PATH='"${HOMEBREW_PREFIX}/opt/openssl/bin:$PATH"
Does what is intended, i.e. shell files get a good PATH assignment.
export PATH=/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
The text was updated successfully, but these errors were encountered:
Actually, that won't quite do it. We need the '$PATH' to be expanded as late as possible so it needs to be in the rc files as $PATH.
I will do some experimentation over the weekend. but I suspect
echo 'export PATH="'"${HOMEBREW_PREFIX}"'/opt/openssl/bin:$PATH"'
might do the trick, at the same time allowing for a space in either HOMEBREW_PREFIX or PATH
HOMEBREW_PREFIX
PATH
Sorry, something went wrong.
Honestpuck
No branches or pull requests
It appears the quoting might be a different to allow the HOMEBREW_PREFIX variable to properly resolve to its contents in the tee command:
echo 'export PATH="${HOMEBREW_PREFIX}/opt/openssl/bin:$PATH"'
results in shell files getting:
export PATH="${HOMEBREW_PREFIX}/opt/openssl/bin:$PATH"
While,
echo 'export PATH='"${HOMEBREW_PREFIX}/opt/openssl/bin:$PATH"
Does what is intended, i.e. shell files get a good PATH assignment.
export PATH=/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
The text was updated successfully, but these errors were encountered: