Checklist
What You Are Seeing?
Chocolatey creates for a meta-package that does not contain any executables.
What is Expected?
No shim is created.
How Did You Get This To Happen?
- Run:
choco install starship
- Observe that chocolatey creates a shim
C:\ProgramData\chocolatey\lib\starship\lib\starship\tools\starship.exe, despite the package being empty.
Invoke-Expression (&starship init powershell) no longer works properly: C:\ProgramData\chocolatey\lib\starship\tools\starship.exe: The term 'C:\ProgramData\chocolatey\lib\starship\tools\starship.exe' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
System Details
- Operating System:
10.0.22621.0
- Windows PowerShell version: 7.3.4
- Chocolatey CLI Version: 2.0.0
- Chocolatey Licensed Extension version:
- Chocolatey License type: Foss
- Terminal/Emulator: Microsoft Terminal
Installed Packages
Chocolatey v2.0.0
chocolatey 2.0.0
starship 1.15.0
starship.install 1.15.0
3 packages installed.
Output Log
I'm not on a Windows machine right now, I can add this if necessary.
Additional Context
starship/starship#5227
Checklist
What You Are Seeing?
Chocolatey creates for a meta-package that does not contain any executables.
What is Expected?
No shim is created.
How Did You Get This To Happen?
choco install starshipC:\ProgramData\chocolatey\lib\starship\lib\starship\tools\starship.exe, despite the package being empty.Invoke-Expression (&starship init powershell)no longer works properly:C:\ProgramData\chocolatey\lib\starship\tools\starship.exe: The term 'C:\ProgramData\chocolatey\lib\starship\tools\starship.exe' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.System Details
10.0.22621.0Installed Packages
Output Log
I'm not on a Windows machine right now, I can add this if necessary.Additional Context
starship/starship#5227