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 4234C1381F3 for ; Fri, 26 Jul 2013 21:39:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B14B6E099B; Fri, 26 Jul 2013 21:39:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92F72E08E0 for ; Fri, 26 Jul 2013 21:39:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id BD5CD33E66D for ; Fri, 26 Jul 2013 21:39:46 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: 0.293 X-Spam-Level: X-Spam-Status: No, score=0.293 tagged_above=-999 required=5.5 tests=[AWL=-0.908, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tvpcf4bw0xIk for ; Fri, 26 Jul 2013 21:39:41 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE8CA33E341 for ; Fri, 26 Jul 2013 21:39:37 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V2pja-0000tB-Q7 for gentoo-user@gentoo.org; Fri, 26 Jul 2013 23:39:34 +0200 Received: from athedsl-344257.home.otenet.gr ([85.72.200.95]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jul 2013 23:39:34 +0200 Received: from realnc by athedsl-344257.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jul 2013 23:39:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: bash-completion change? Date: Sat, 27 Jul 2013 00:39:13 +0300 Organization: Lucas Barks Message-ID: References: <87txjhw2vh.fsf@nyu.edu> 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; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-344257.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <87txjhw2vh.fsf@nyu.edu> X-Archives-Salt: 4840e7aa-94bf-4403-bb1f-7e24d2dd6770 X-Archives-Hash: ff49917326f8f64c1236bc150378f0aa On 26/07/13 22:13, gottlieb@nyu.edu wrote: > On Fri, Jul 26 2013, Nikos Chantziaras wrote: > >> On 24/07/13 15:06, Douglas J Hunley wrote: >>> As of bash-completion-2.1-r1 it appears the eselect module is gone and >>> the use of /etc/bash-completion.d is dead. Does this mean that all >>> completions are enabled globally by default now? It used to be that you >>> could turn each individual one on/off either globally or per user. >>> Anyone know what the new 'one true way' is here? >> >> 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.