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

CD_PATH expansion does not work with two directories #24

Closed
jetersen opened this issue Aug 28, 2019 · 5 comments
Closed

CD_PATH expansion does not work with two directories #24

jetersen opened this issue Aug 28, 2019 · 5 comments

Comments

@jetersen
Copy link
Contributor

jetersen commented Aug 28, 2019

My guess is that the Windows Terminal consumes the tab character and does not get propagated to cd extra

https://github.com/microsoft/terminal

@jetersen
Copy link
Contributor Author

Okay my issue seems to a mix of Windows Terminal and my profile

For conemu and regular powershell window this works
$cde.CD_PATH = @($developmentWorkspace)

For Windows terminal I need
$cde.CD_PATH = $developmentWorkspace

$developmentWorkspace = @("C:\code", "C:\work")

@jetersen
Copy link
Contributor Author

jetersen commented Aug 28, 2019

d0h I had $cde.CD_PATH = @("$developmentWorkspace") which was the foobar one
$cde.CD_PATH = @($developmentWorkspace) works just fine

@jetersen jetersen reopened this Oct 6, 2019
@jetersen
Copy link
Contributor Author

jetersen commented Oct 6, 2019

Hmm, so for some reason my PowerShell was using 1.1.1

When upgrading to 1.11 CD_PATH no longer works with multiple directories
cc @nickcox

@jetersen jetersen changed the title CD_PATH expansion does not work in Windows Terminal CD_PATH expansion does not work with two directories Oct 6, 2019
@nickcox
Copy link
Owner

nickcox commented Oct 7, 2019

Thanks for this, it's definitely a regression. Should be fixed in 1.12.

@jetersen
Copy link
Contributor Author

jetersen commented Oct 7, 2019

Thanks @nickcox for the quick response and fix. Massively appreciated 😊

@nickcox nickcox closed this as completed Oct 30, 2019
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