From: Stephen Boyd Date: Fri, 13 Nov 2009 06:40:16 GMT Subject: Re: ks/precompute-completion Message-ID: <4AFCFF50.5080401@gmail.com> In-Reply-To: <20091111220832.GA31620@progeny.tock> Jonathan Nieder wrote: > > As a distro user, I don't think I would be able to use it until there > is a command to update the installed completion, to call after adding > a new git command to my $PATH. This could mean: > > - git-completion.bash.generate learns to read the .in file and > write the completion script to arbitrary paths (or just always > uses stdin and stdout?) > > - distros install git-completion.bash.{generate,in} to /usr/share/git-core > > - distros install a simple completion script to /etc/bash_completion.d > that passes the buck, e.g. > > > > Thoughts? I'm confused. Shouldn't your distro take care of updating the completion for you? And wouldn't update-git-completion be more suited as part of a makefile if it was needed at all?