Skip to content

[Bug] command such as lsgrepwhere not found in bash #3022

@zwyyy456

Description

@zwyyy456

Version Information

Cmder version: 1.3.25
Operating system: windows10 22h2

Cmder Edition

Cmder Full (with Git)

Description of the issue

I installed cmd-full by scoop. Then when I open cmder and use mitty or bash, it shows that bash: /c/Users/cffex/scoop/apps/cmder-full/current/vendor/git-for-windows/bin/cp: cannot execute: required file not found.

When I try to run ls, it shows that bash: /c/Users/cffex/scoop/apps/cmder-full/current/vendor/git-for-windows/bin/ls: cannot execute: required file not found. When I try /usr/bin/ls or /bin/ls, the command works, and when I try /usr/bin/ls /c/Users/cffex/scoop/apps/cmder-full/current/vendor/git-for-windows/bin, there
are lots of exe files such as ls.exe, but I can only find bash.exe and git.exe and sh.exe in windows file explorer.

When I try to run /usr/bin/which ls, it shows that /c/Users/cffex/scoop/apps/cmder-full/current/vendor/git-for-windows/bin/ls.

How can I fix this problem? I don't want to type /usr/bin/ls every time I want to use the ls command.

How to reproduce

No response

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions