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

On Windows, modifying scores via zoxide edit results in a double slashed duplicate of the path #539

Open
ciwolsey opened this issue Mar 8, 2023 · 7 comments

Comments

@ciwolsey
Copy link

ciwolsey commented Mar 8, 2023

Runnining zoxide edit on Windows and then attempting to increment or decrement a score causes the path to be added to the database again but with double slashes.

@ciwolsey ciwolsey changed the title and then incrementing or decrementing the score of a path causes a duplicate path with double slashes to be added to the database Modifying scores via zoxide edit results in double slashed duplication of the path Mar 8, 2023
@ciwolsey ciwolsey changed the title Modifying scores via zoxide edit results in double slashed duplication of the path Modifying scores via zoxide edit results in a double slashed duplicate of the path Mar 8, 2023
@ciwolsey ciwolsey changed the title Modifying scores via zoxide edit results in a double slashed duplicate of the path On Windows, modifying scores via zoxide edit results in a double slashed duplicate of the path Mar 8, 2023
@ciwolsey
Copy link
Author

ciwolsey commented Mar 8, 2023

Maybe this could be related to #538?

@WitchGod
Copy link

Confirming this is also happeing to me. Same as #538. Originally did it in Powershell 7/Core then got to replicate it in 5.1. Looks like a Windows bug. With the database serialized, I don't think it's an easy edit via source editor as well.

@princemaple
Copy link

Happening to me as well. Windows11, nushell.

@Bocom
Copy link

Bocom commented Jun 13, 2023

Happening to me as well, both this and #538, on Windows 11 and PowerShell 7.

@ArcusCerebellumus
Copy link

+1

@YDX-2147483647
Copy link

FYI, Swarnim Arun is drafting #569, which may fix all problems by distinguish Path/PathBuf from str/String. (And I suggest we stop +1 again and use the reaction emoji buttons 👍/🚀/…)

@hme3
Copy link

hme3 commented Apr 28, 2024

Any solution or workaround?

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

7 participants