-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
With .Net 5 Preview, failed to run tool dotnetsay on Mac due to command not found #10986
Comments
@yuki233 I'll try to reproduce. Where can I find preview 2? I ran in to a similar issue earlier due to zsh path handling. Try invoking the tool directly with If that works, try the following to confirm |
@memark This issue is also reproduced with .Net 5.0 Preview 1 Run ~/.dotnet/tools/dotnetsay, dotnetsay works fine Run below command, dotnetsay works fine |
Then the issue appears to be with From what I can tell this is what happens:
When manually adding So the issue appears to be with I also tried replacing the file contents with |
@wli3 This looks to be a path expansion issue when setting the path to the tools folder in zsh: #10986 (comment) |
If your default shell zsh? We do have an experience to guide zsh user to add path to at the same time:
More info in #9415 |
I will consider the issue resolved. If you have more ask please create a more specific issue. |
Repro steps-
dotnet tool install -g doTNetsay
dotnet tool list -g
dotnetsay
Actual Result-
Failed to run tool dotnetsay on Mac due to command not found
Note-
The text was updated successfully, but these errors were encountered: