From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 57CB06DE1689 for ; Sun, 12 Mar 2017 10:27:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.501 X-Spam-Level: X-Spam-Status: No, score=0.501 tagged_above=-999 required=5 tests=[AWL=-0.151, SPF_NEUTRAL=0.652] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4iCQjmY7ydww for ; Sun, 12 Mar 2017 10:27:46 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id 7F6776DE167D for ; Sun, 12 Mar 2017 10:27:46 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 99F1F1001F9; Sun, 12 Mar 2017 19:27:12 +0200 (EET) From: Tomi Ollila To: David Bremner , David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] configure: change default bash completion location to /usr/share In-Reply-To: <20170312172452.13444-1-david@tethera.net> References: <20170312172452.13444-1-david@tethera.net> User-Agent: Notmuch/0.23.5+113~gfa95df1 (https://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2017 17:27:47 -0000 On Sun, Mar 12 2017, David Bremner wrote: > At least Fedora and Debian now use > /usr/share/bash-completion/completions now. Apparently > /etc/bash_completion.d will be phased out at some point in the future. > --- LGTM (from keyboard of 20+ year zsh user) Tomi > configure | 4 ++-- > debian/notmuch.install | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/configure b/configure > index e16a9b76..0de354ea 100755 > --- a/configure > +++ b/configure > @@ -132,7 +132,7 @@ Fine tuning of some installation directories is available: > --sysconfdir=DIR Read-only single-machine data [PREFIX/etc] > --emacslispdir=DIR Emacs code [PREFIX/share/emacs/site-lisp] > --emacsetcdir=DIR Emacs miscellaneous files [PREFIX/share/emacs/site-lisp] > - --bashcompletiondir=DIR Bash completions files [SYSCONFDIR/bash_completion.d] > + --bashcompletiondir=DIR Bash completions files [PREFIX/share/bash-completion/completions] > --zshcompletiondir=DIR Zsh completions files [PREFIX/share/zsh/functions/Completion/Unix] > > Some features can be disabled (--with-feature=no is equivalent to > @@ -1030,7 +1030,7 @@ HAVE_DOXYGEN=${have_doxygen} > desktop_dir = \$(prefix)/share/applications > > # The directory to which bash completions files should be installed > -bash_completion_dir = ${BASHCOMPLETIONDIR:=\$(sysconfdir)/bash_completion.d} > +bash_completion_dir = ${BASHCOMPLETIONDIR:=\$(prefix)/share/bash-completion/completions} > > # The directory to which zsh completions files should be installed > zsh_completion_dir = ${ZSHCOMLETIONDIR:=\$(prefix)/share/zsh/functions/Completion/Unix} > diff --git a/debian/notmuch.install b/debian/notmuch.install > index 86e891d4..31b9a37e 100644 > --- a/debian/notmuch.install > +++ b/debian/notmuch.install > @@ -1,3 +1,3 @@ > usr/bin > usr/share/man > -etc/bash_completion.d > +usr/share/bash-completion > -- > 2.11.0 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch