git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 13 of 13 in “What's cooking in git.git (Mar 2010, #06; Wed, 24)”
  1. Junio C HamanoMar 25, 2010
  2. Nguyen Thai Ngoc DuyMar 25, 2010
  3. Brandon CaseyMar 25, 2010
  4. Alex RiesenMar 25, 2010
  5. 1/2 Allow passing of configuration parameters in the command lineAlex Riesen, Mar 26, 2010
  6. 2/2 Use strbufs instead of open-coded string manipulationAlex Riesen, Mar 26, 2010
  7. Nguyen Thai Ngoc DuyMar 26, 2010
  8. Nguyen Thai Ngoc DuyMar 25, 2010
  9. Ben WaltonMar 26, 2010
  10. RPM spec: include bash completion supportIan Ward Comfort, Mar 26, 2010
  11. Ben WaltonMar 26, 2010
  12. Junio C HamanoMar 29, 2010
  13. Julian PhillipsMar 26, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.