-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Aliases with environment variables not working #684
Comments
No one else seeing this? I'm on Window 8.1 and can reproduce directly after extracting cmder.7z, with no config changes:
|
Another test case. On plain old cmd.exe:
On cmder.exe:
On my prior cmder.exe:
|
Yep, can reproduce, not yet sure what caused it though. |
Thanks for confirming. This could be related to clink v0.4.4 vs v0.4.5. See for example mridgers/clink#344, which is not exactly the same but seems related. |
Did you test with clink 0.4.4? Edit: Ok I did, so I can blame clink now, great! |
You can use this test build of clink to have the fix right now, we will make sure to include it in our next release: https://www.dropbox.com/sh/hqbrpkf0dpmmizq/AADIJ4G5gjJ59JfFmr-3-Qc0a/20150923_1abb57/clink_DEV.zip?dl=0 Thanks for helping us find the issue and reporting it in the first place! |
Yes, the the dev build of clink fixes the problem. Thanks! |
👍 Also using this dev build as a fix, thanks! |
I'm seeing an issue in v1.2.9 that I did not see in my previous 1.2 install. Aliases that refer to environment variables are failing. I can reproduce this with the built-in history alias:
Note that the variable is defined and the file exists. The error message indicates that CMDER_ROOT is not set, so it looks like the cat command is not inheriting the current shell environment. I see the same thing with a number of other aliases that I have. When I switch back to my older cmder installation everything works fine.
The text was updated successfully, but these errors were encountered: