Skip to content

Why aren't files completed for ... ? #1655

Closed Answered by rsteube
rsteube asked this question in Q&A
Discussion options

You must be logged in to vote

This can have several reasons:

  1. The command is misconfigured/incomplete.
    Contrary to many shells file completion needs to be explicitly defined in carapace.
    Having a file completion fallback helps when the shell completion is incomplete but most of the time gives invalid suggestions.

  2. File completion is dependent on a flag or positional argument.
    Some commands have different behaviour depending on flags or positional arguments.
    When file completion would be invalid it is omitted.

Replies: 1 comment 4 replies

Comment options

rsteube
Apr 12, 2023
Maintainer Author

You must be logged in to vote
4 replies
@BatmanAoD
Comment options

@rsteube
Comment options

rsteube Nov 2, 2023
Maintainer Author

@robrecord
Comment options

@rsteube
Comment options

rsteube Jan 31, 2024
Maintainer Author

Answer selected by rsteube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants