From owner-freebsd-ports@FreeBSD.ORG Sat Apr 4 08:50:41 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D280E4A1; Sat, 4 Apr 2015 08:50:41 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 92840B72; Sat, 4 Apr 2015 08:50:41 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id F36B8BDC64; Sat, 4 Apr 2015 10:50:38 +0200 (CEST) Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) by prod2.absolight.net (Postfix) with ESMTPA id CB6F6BDC5E; Sat, 4 Apr 2015 10:50:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id 5BE9E2EBFD8E; Sat, 4 Apr 2015 10:50:38 +0200 (CEST) Date: Sat, 04 Apr 2015 10:50:38 +0200 From: Mathieu Arnold To: Craig Rodrigues , Baptiste Daroussin Subject: Re: Share your pkg aliases Message-ID: <79DCE8388D31F662B15D7B4A@atuin.in.mat.cc> In-Reply-To: References: <20150402201909.GD30115@ivaldir.etoilebsd.net> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: pkg , ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2015 08:50:41 -0000 +--On 3 avril 2015 12:47:31 -0700 Craig Rodrigues wrote: | On Thu, Apr 2, 2015 at 1:19 PM, Baptiste Daroussin | wrote: | |> Hi, |> |> For pkg 1.5.0 we do plan to provide a default pkg.conf full of useful |> aliases, |> of course this is subjective, if you think you have added some useful |> aliases |> into your pkg.conf please share those so we can add them directly into |> the next |> release. |> | | I notice that there is a /usr/local/etc/bash_completion.d/_pkg.bash file | which implements tab completion | for pkg commands. Is there a way to make this file get picked up | by default when ports-mgmt/pkg is installed, | instead of having to edit .bashrc? | | It's a minor thing, but tab completions are really nice for usability. | bash shell users can use this, but zsh also has a way to read bash | completion scripts. It's picked up automatically when you install shells/bash-completion. -- Mathieu Arnold