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

In git bash grr cd doesn't work and grr gd returns a windows style path #121

Open
JKrag opened this issue Sep 14, 2020 · 1 comment
Open

Comments

@JKrag
Copy link

JKrag commented Sep 14, 2020

I am running Windows 10, and using the latest (5.4) version of RepoZ.
When I try to run a grr cd command, it prints out the matching single repo:

$ grr cd virtual
 virtual-environments   master ≡

but doesn't perform the actual directory change. (Exit code is 0.)

I then tried running grr gd (as a test to see if I at least could for instance a cd $(grr gd <reponame>) workaround in an alias, but it turns out that grr gd returns the path in windows style, e.g. "C:/Users/jkrag/source/repos/virtual-environments/".

I thought that this might be the reason, but now that I actually tested, it turns out that if I try to manually cd to that windows path (with or without the quotes) then it actually works.

The behavior above is seen in both the "Git Bash" terminal (mingw64), in the new Windows terminal configured with Git Bash and in Hyper terminal running the Git Bash.

Can anyone else confirm whether grr cd works is this environment or doesn't?

@awaescher
Copy link
Owner

I can confirm this does not work with MINGW64. I'll have a look at this in a free minute.

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

2 participants