Skip to content
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

Command line alias not work after installing BurntSushi.ripgrep.MSVC #3284

Closed
joaompinto opened this issue May 30, 2023 · 2 comments
Closed
Milestone

Comments

@joaompinto
Copy link

Brief description of your issue

During the install of BurntSushi.ripgrep.MSVC I get the following message:
...
Command line alias added: "rg"
...
Nevertheless no "rg" is found when trying to execute from shell or cmd

I was able to observer that the PATH was changed to a directory before the one actually containing the executable:
C:\Users\lamego\AppData\Local\Microsoft\WinGet\Packages\BurntSushi.ripgrep.MSVC_Microsoft.Winget.Source_8wekyb3d8bbwe

   Directory: C:\Users\lamego\AppData\Local\Microsoft\WinGet\Packages\BurntSushi.ripgrep.MSVC_Microsoft.Winget.Source_
8wekyb3d8bbwe\ripgrep-13.0.0-x86_64-pc-windows-msvc

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          12/06/2021    12:32        4644864 rg.exe

Steps to reproduce

winget install BurntSushi.ripgrep.MSVC

Expected behavior

The "rg" command should work.

Actual behavior

The "rg" command is not found.

Environment

Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1778
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label May 30, 2023
@mdanish-kh
Copy link
Contributor

mdanish-kh commented May 30, 2023

Duplicate of #2909

Resolved in WinGet v1.5.1081-preview release (or any higher version)

@joaompinto
Copy link
Author

Tested with the latest version, workas as expected.

Thanks

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label May 30, 2023
@denelon denelon added this to the v1.6 Client milestone Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants