-
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
init.bat fails and shows {lamb} and {git} #935
Comments
What is the error message? |
UPDATE: BUGFIX FOUND I fixed it by adding quotation marks. Do the following: Change this:
To this:
And change this:
To this:
Then it installs and runs as expected. |
Ok, can you please still post the error message and also the path where you installed cmder in? I suspect that it as something to do with spaces in your path, but actually can't really understand the problem because it is just a echoed variable and not something which is used programmatically (like the |
There was no error. It didn't run far enough to install clink. So like others have reported, the prompt said {lamb} instead of the lambda sign, and the {git} substitutions were not made. And all paths were correct. It was a brand new install. Others have reported that it was because of an old version of clink, but that's not it. It was not running clink, because the batch file failed at those lines. Makes no sense, btu there you go. Win10 x64 BTW. |
No error message at all when you opened a new cmder window? Also: what is the full path to your cmder install location (e.g. in my case: |
No, no error. But clink didn't run, so the macros were not expanded, and the shell was not "upgraded" in the cmder style.
|
Obviously this is not just me, and obviously the fix works for others too, see @elonliu. |
This should prevent errors like cmderdev#935 cmderdev#937 I've no idea why this happens, but it shouldn't hurt anyway...
This should prevent errors like cmderdev#935 cmderdev#937 I've no idea why this happens, but it shouldn't hurt anyway...
This should prevent errors like cmderdev#935 cmderdev#937 I've no idea why this happens, but it shouldn't hurt anyway...
Can you try this here: https://ci.appveyor.com/project/MartiUK/cmder/build/1.0.267-development/artifacts |
Could you also do me a favor and remove the |
I get the same as @elonliu:
And after that nothing, it just crashes back to the command line. Also, for me its installed in a path with spaces: |
Ok, I think I found the problem: if the path has parentheses in it, it fails:
|
See #941 for more such changes... |
awesome 😃 |
Hello there we tried the 1.0.267 mini zip, and
Is there any newer CI build output we can try? Thanks for this great software! EDIT :: BEFORE
if not defined aliases (
set aliases=%user-aliases%
) :: AFTER
if not defined aliases (
set aliases="%user-aliases%"
) BTW, if it can help, I can confirm that in our PC setup, with Windows 10 64 bits, cmder is copied under C:\Program Files (x86), so there are parenthesis in path. |
For the latest pre release
The
init.bat
fails, and the prompt is all wrongFile fails here:
There is another location in the bat file with the same problem.
The text was updated successfully, but these errors were encountered: