Re: [PATCH] RPM spec: include bash completion support
- From
Julian Phillips <julian@quantumfyre.co.uk>
- Date
- Mar 26, 2010, 13:07 UTC
- Message-ID
- <c23f5db54cc8e5a4a5ee10c6533ac9fb@212.159.54.234>
- In-Reply-To
- <1269592797-18487-1-git-send-email-icomfort@stanford.edu>
On Fri, 26 Mar 2010 01:39:57 -0700, Ian Ward Comfort <icomfort@stanford.edu> wrote:
Show 8 quoted lines
> Unfortunately, nothing in the above clarifies how other packages are > expected to ship their own completion support. Currently, however, > the Git packages (and what other packages I've found with completions) > in all these distros -- with the possible exception of Gentoo, which > I haven't been able to verify -- install completions directly into > /etc/bash_completion.d. This seems natural, given that the symlink > mechanism's current function is to have completions for all and only > installed packages in /etc/bash_completion.d.
FWIW, Gentoo installs the completion script as /usr/share/bash-completion/git - since installing a package isn't supposed to enable completion but only to make it available. Since Gentoo doesn't use RPMs this isn't actually relevant though ;).
-- Julian