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

Cannot cd up multiple directories normally #2473

Closed
LucasMonastirsky opened this issue Feb 4, 2021 · 6 comments
Closed

Cannot cd up multiple directories normally #2473

LucasMonastirsky opened this issue Feb 4, 2021 · 6 comments

Comments

@LucasMonastirsky
Copy link

running cd ../ works normally, going up one directory, but cd ../../ does nothing, remaining in the same directory. cd ../../../ goes up a single directory, and cd ../../../../ goes up two directories.

This happens on my desktop pc but not on my laptop. Both are running Windows 10 x64. I've reinstalled Cmder several times in different drives, with no success. This does not happen when emulating a powershell from Cmder though.

@ovasquez
Copy link

I was going to report this exact same issue.
I tested versions 1.3.15 and 1.3.16 and in both it works as expected, so the bug must have been introduced (or revealed) in 1.3.17.

Current behavior

1.3.17

cd ../..     # goes up 2 directories [Correct]
cd ../../    # stays in the same directory [Incorrect]

Expected behavior

1.3.16 and 1.3.15 (and probably a lot more before)

cd ../..     # goes up 2 directories [Correct]
cd ../../    # goes up 2 directories [Correct]

@chrisant996
Copy link
Contributor

This is about Clink. I can reproduce it, and opened chrisant996/clink #76.

@chrisant996
Copy link
Contributor

Thanks for reporting this! I've fixed the issue in Clink, but haven't published a new version yet. (Clink v1.1.33 will be published sometime this week.)

@chrisant996
Copy link
Contributor

P.S. Clink with fix has been published.

@daxgames
Copy link
Member

Please confirm if this build works: https://ci.appveyor.com/project/MartiUK/cmder/builds/37955932/artifacts

@daxgames
Copy link
Member

@daxgames daxgames mentioned this issue Mar 26, 2021
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

5 participants
@daxgames @ovasquez @chrisant996 @LucasMonastirsky and others