[Bug] cmd_commands.lua:256: attempt to call method 'setcmdcommand' (a nil value)
Open
Nobody has claimed this yet.
👀 Awaiting Response
👆 clink
👆 clink-completions
- Dominant language
- PowerShell
- Stars
- 27k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
Version Information
Cmder version: Version 1.3.25.328
Operating system: Windows 10
Cmder Edition
Cmder Mini
Description of the issue
I downloaded cmder for the first time and when I run I get:
Clink v1.3.39.404510
Copyright (c) 2012-2018 Martin Ridgers
Portions Copyright (c) 2020-2022 Christopher Antos
https://github.com/chrisant996/clink
...les\cmder_mini/vendor/clink-completions/cmd_commands.lua:256: attempt to call method 'setcmdcommand' (a nil value)
How to reproduce
- Be unlucky
Additional context
No response
Checklist
- I have read the documentation.
- I have searched for similar issues and found none that describe my issue.
- I have reproduced the issue on the latest version of Cmder.
- I am certain my issues are not related to ConEmu, Clink, or other third-party tools that Cmder uses.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with vendor/clink-completions/cmd_commands.lua at line 256 and reproduce the startup failure using Cmder Mini 1.3.25.328 on Windows 10. Determine why setcmdcommand is unavailable in the reported environment; done means Cmder starts without this error, with a regression check if the repository provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100