-
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
Cmder build 1114 and clink autorun install - error message #2536
Comments
An astute observation, thank you! Yes, the cmder\vendor\clink.lua script is part of Cmder, not part of Clink. It turns out, though, that this reveals two issues: one in Clink itself + one in Cmder. Issue in Clink:
Fix in Clink: Forward the profile directory.Issue in Cmder:
Fix in Cmder: Add default logic to not rely on the cmder_prompt_config.lua file.Then there's no need for Cmder to initially create the cmder_prompt_config.lua file (but it could create a placeholder file named differently e.g. with a There are several approaches for adding default logic:
|
I've published Clink v1.2.5 that should fix this autorun-vs-Cmder issue. @daxgames It's still worth addressing the Cmder part of the issue (see above). |
Please test this |
Looking good! I also tried a Clink 1.2.5 manual install with build 1114 and that combo fixed the reported bug too. I see this latest one, build 1119, has Clink 1.2.5 with it as well (at least, according to the .cmderver file in %cmder_root%\vendor\clink). Both scenarios (build 1114 with manual install of Clink 1.2.5 and 1119 "straight up") look good. |
Cool |
Purpose of the issue
Version Information
Cmder version: cmder_mini.zip build 1.0.1114-master from Cmder AppVeyor page (latest build as of now)
Clink version: 1.2.4 (Happens with 1.23 and 1.22 as well, but I didn't go back further than that).
ConEmu version: 210304 [64] (Preview)
Windows version: Windows 10 Pro version 20H2, build 19042.964
Description of the issue
Steps to repeat:
C:\programs-no-uac\cmder\vendor\clink.lua:90: attempt to concatenate global 'lamb_color' (a nil value)
stack traceback:
C:\programs-no-uac\cmder\vendor\clink.lua:90: in function '?'
?: in function 'filter'
?: in function <?:22>
[C]: in function 'xpcall'
?: in function <?:12>
Steps to get rid of the error message:
I wasn't sure whether to report this as a Cmder or Clink issue, but since the error referred to the cmder\vendor\clink.lua file and not something in the cmder\vendor\clink directory, I decided to post it here.
The text was updated successfully, but these errors were encountered: