Skip to content

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

@JKrag

Description

@JKrag

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions