Skip to content

What is the difference between oh-my-bash completion and bash-completion? #573

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

You must be logged in to vote

They are just independent implementations and unrelated. I'd say the quality is usually better in bash-completion, but some completions in Oh My Bash cover commands not covered by bash-completion.

I'm confused if to add or not for example git completion to oh-my-bash,

There are three different providers here.

  • git
  • bash-completion
  • oh-my-bash

Actually, the git completion is provided by git. bash-completion itself does not provide the git completion. oh-my-bash doesn't provide the git completion either. However, both bash-completion and oh-my-bash have a mechanism to search and load the git completion provided by the git installation. Here's the detail:

  • The git packages of some distribut…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by madalinignisca
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants