What is the difference between oh-my-bash completion and bash-completion? #573
-
What is the difference between oh-my-bash completion and bash-completion with each package completion script? I'm confused if to add or not for example git completion to oh-my-bash, if I already have the git's bash completions enabled in bash-completion? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
They are just independent implementations and unrelated. I'd say the quality is usually better in
There are three different providers here.
Actually, the
So as far as the
If the |
Beta Was this translation helpful? Give feedback.
-
Thank you very much @akinomyoga. That was very detailed. |
Beta Was this translation helpful? Give feedback.
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 bybash-completion
.There are three different providers here.
git
bash-completion
oh-my-bash
Actually, the
git
completion is provided bygit
.bash-completion
itself does not provide thegit
completion.oh-my-bash
doesn't provide thegit
completion either. However, bothbash-completion
andoh-my-bash
have a mechanism to search and load thegit
completion provided by thegit
installation. Here's the detail:git
packages of some distribut…