Skip to content

Where does carapace get its completions from? #2094

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

You must be logged in to vote
  1. Where does carapace get completions from?

They are compiled into the binary. Some like gcloud are bridged.
Where appropriate, commands are executed for argument completion.
E.g. git is used to list branches, gh for repositories and so on.

  1. If it has to download them from somewhere do I have to be always connected to the internet ?

No, but you will get an error message when trying to complete an argument that tries to access the internet.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mastermach50
Comment options

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