From: Junio C Hamano Date: Fri, 23 Oct 2009 18:59:54 GMT Subject: Re: ks/precompute-completion Message-ID: <7vd44eaqc5.fsf@alter.siamese.dyndns.org> In-Reply-To: Sverre Rabbelier writes: > Ah, no, I meant that as part of my semi-regular git update (during > which I do 'make && make install') I want to have up-to-date bash > completion, preferably installed somewhere system-wide; currently I am > forced to have a 'source > /home/sverre/code/git/contrib/completion/git-completion.bash' in my > .bashrc,.. If you have enough privilege to run 'make && make install' regularly into a system-wide place, I presume you can have a system-wide rc that sources /home/sverre/code/git/contrib/completion/git-completion.bash, no? I think there are two issues. 1. The series will break your rc script (either $HOME/.bashrc, or system-side) that sources $git/contrib/completion/git-completion.bash because it has to be built; having "make" generate it may alleviate the issue, but "make clean" will break it again, so it is not something you can solve in any way other than changing your setting. 2. Some people have been expecting "make install" not to install the bash completion anywhere. So perhaps "make && make install-contrib"?