From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F3CF21381F3 for ; Fri, 26 Jul 2013 23:37:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5815E0AD2; Fri, 26 Jul 2013 23:37:28 +0000 (UTC) Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.49.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 74647E09F0 for ; Fri, 26 Jul 2013 23:37:27 +0000 (UTC) Received: from newlap-wireless.localdomain (ool-182de1a5.dyn.optonline.net [24.45.225.165]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.14.4) with ESMTP id r6QNbNSS021700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 26 Jul 2013 19:37:26 -0400 (EDT) Received: by newlap-wireless.localdomain (Postfix, from userid 1000) id 9DBC8A0412; Fri, 26 Jul 2013 19:37:22 -0400 (EDT) From: gottlieb@nyu.edu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: bash-completion change? References: <87txjhw2vh.fsf@nyu.edu> Date: Fri, 26 Jul 2013 19:37:22 -0400 In-Reply-To: (Nikos Chantziaras's message of "Sat, 27 Jul 2013 00:39:13 +0300") Message-ID: <87zjt8vqod.fsf@nyu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain X-Archives-Salt: 32c28fbd-3cb5-47a4-b0ee-fa3de357d9b7 X-Archives-Hash: 32da759e0099f8feb2903822a793130e On Fri, Jul 26 2013, Bruce Hill wrote: > On Sat, Jul 27, 2013 at 12:39:13AM +0300, Nikos Chantziaras wrote: >> >> On 26/07/13 22:13, gottlieb@nyu.edu wrote: >>> On Fri, Jul 26 2013, Nikos Chantziaras wrote: >>> >>>> As others pointed out, you now need to: >>>> >>>> source /usr/share/bash-completion/bash_completion >>>> >>>> in your ~/.bashrc. However, you also need to clean out anything in >>>> /etc/bash_completion.d/ and then: >>>> >>>> ln -s /usr/share/bash-completion/gentoo /etc/bash_completion.d/ >>>> >>>> Otherwise, completion for Gentoo stuff (like "emerge") will not be >>>> available. >>> >>> Although I have a number of files and one subdirectory in >>> /usr/share/bash-completion, I have neither >>> /usr/share/bash-completion/bash_completion >>> /usr/share/bash-completion/gentoo >>> >>> Presumably I have forgotten to turn something on; would you know what? >> >> You probably forgot to re-emerge all packages that provide bash >> completion files: >> >> emerge -av1 \$(qfile -q -S -C /usr/share/bash-completion) >> >> This is actually printed by app-shells/bash-completion when emerging >> it. If you don't do that, all the completion files are in the wrong >> directory. And yes, it will probably re-emerge *a lot* of packages, so >> you might want to do that while you're AFK. > > little syntax help: > > emerge -av1 $(qfile -q -S -C /usr/share/bash-completion) Thank you nikos and bruce. allan