awaescher / RepoZ

👨‍💻 A zero-conf git repository hub for Windows and macOS with Windows Explorer- & CLI-enhancements
MIT License
1.01k stars 91 forks source link

grr cd not working #139

Closed seanmars closed 3 years ago

seanmars commented 3 years ago

When I use grr cd Repo it always get the error below

V: The term 'V' 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.
awaescher commented 3 years ago

It seems your Terminal does not support Ctrl+V via SendKeys (to paste the cd-command including the repository path). Which one do you use?

seanmars commented 3 years ago

It seems your Terminal does not support Ctrl+V via SendKeys (to paste the cd-command including the repository path). Which one do you use?

I'm using the Windows Terminal

awaescher commented 3 years ago

Oh, I see this happens when using CMD in Windows Terminal. However it works with PowerShell within Windows Terminal. Using CMD.exe directly works, too.

I don't know ... this seems to have a low prio to me.

seanmars commented 3 years ago

Oh, I see this happens when using CMD in Windows Terminal. However it works with PowerShell within Windows Terminal. Using CMD.exe directly works, too.

I don't know ... this seems to have a low prio to me.

I'm using PowerShell Core 7.1.0 and I'm sure it can use ctrl+v to paste via my keyboard.

seanmars commented 3 years ago

Finally I found the problem. I'm using the PowerToys's key mapping. It's will affects the effect. I disabled the key mapping and grr cd work fine now!

awaescher commented 3 years ago

Wow, I did not think that this might be an issue. Thanks for posting.