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
[global tool] FAKE dotnet global tool is not found on zsh
#1951
Comments
Here's the upstream tracking issue: https://github.com/dotnet/cli/issues/9321 |
@baronfel Is your shell broken? dotnet sdk is just adding an executable into the folder. afaik there is nothing specific to why is wouldn't work in zsh |
Maybe zsh doesn't resolve |
that's the problem exactly. that ~-path is being written by the dotnet cli tool installer, so I'm hoping they'll update and write the full path to support more shells. |
I'm closing this here since it is easy to workaround (just manually edit your PATH) and the issue is tracked in dotnet/cli |
Description
When using
zsh
thefake
global tool stub is never run, despite the appropriate$PATH
entries being in place. The tool is run correctly using bash. This is something that impacts every dotnet sdk global tool (trydotnet tool install -g weeknumber && weeknumber
to verify). I'll be opening this over at thedotnet/cli
repo as well, but wanted this here as a tracking issue.Repro steps
Please provide the steps required to reproduce the problem:
zsh --no-rcs
dotnet tool install -g fake-cli --version '5.0.0-*'
fake
Expected behavior
The FAKE cli help should display
Actual behavior
The shell reports that
fake
could not be found.Known workarounds
~/.dotnet/tools/fake
Related information
The text was updated successfully, but these errors were encountered: