Skip to content

Case insensitive completion on files and paths #2743

Open
@Dominiquini

Description

@Dominiquini

Request

If I type:

vim ~/Documents/proj<TAB>

The auto-completer don't suggest anything, even if the path "~/Documents/Projects" exists!

My bash is configured to be case-insensitive when using auto-completion and without carapace, I was able to complete:

vim ~/Documents/proj<TAB> -> vim ~/Documents/Projects/

It appears that the first path on the arguments works fine (case-insensitive), but any subsequent path needs to be in the correct case!

I also tried with the commands ('file', 'cat', 'du', 'nvim'). Maybe all commands provided by carapace have the same behavior!

But if the command is not provided by carapace, it works fine! If I type: kate ~/Documents/proj<TAB>, it auto-completes!

Proposed solution

Auto-completion of files and paths should be case-insensitive (or respect the config "completion-ignore-case")

Anything else?

No response

Polar

Fund with Polar

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfundFundable with polar.sh

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions