From owner-freebsd-pkg@FreeBSD.ORG Sat Apr 4 10:39:43 2015 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D001A90; Sat, 4 Apr 2015 10:39:43 +0000 (UTC) Received: from mail-vn0-x22b.google.com (mail-vn0-x22b.google.com [IPv6:2607:f8b0:400c:c0f::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EEA7976D; Sat, 4 Apr 2015 10:39:42 +0000 (UTC) Received: by vnbf129 with SMTP id f129so183894vnb.11; Sat, 04 Apr 2015 03:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=3knSgL4HsHT3cfNIaRmftgoPtCQngUgO6Q3G9aEZ+Gw=; b=enejexoQ+ejbYfAT0xHKkkHyGpzDcGlBkYNqf+dc9K3VZIy2bnkfS8Vmi3X3FGfGgE CKhOlA6SorMRBRM4n/UfdPHH4DN4zmxYxxmwSzpswNArUq2xqg0qWLEugUJhgYu2mI7G 1sZS5+RXvCQKl1a5tRGYfQM5weUUvArgqaEvdw2wwJpRTPCoqdV3s8mO/tMSdCFw08qW 4+RMiwlRAerzU113PoRpaqgXfZHtToFjR+wWZfxtnL+jsbRtFuL3cfXU7I5HTM303erB 8Oa54lFTa7PxgKRaEX5KrNhU9dy7U+ITiOjZ9ySfzls8qb39VUB+L5PSa2yqMSZVwoVz GYIQ== X-Received: by 10.52.61.137 with SMTP id p9mr3601340vdr.68.1428143981950; Sat, 04 Apr 2015 03:39:41 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id ci3sm1710796vdd.3.2015.04.04.03.39.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Apr 2015 03:39:40 -0700 (PDT) Sender: Baptiste Daroussin Date: Sat, 4 Apr 2015 12:39:36 +0200 From: Baptiste Daroussin To: Kevin Oberman Subject: Re: Share your pkg aliases Message-ID: <20150404103936.GA20155@ivaldir.etoilebsd.net> References: <20150402201909.GD30115@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: pkg , "ports@freebsd.org" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2015 10:39:43 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 03, 2015 at 08:15:29PM -0700, Kevin Oberman wrote: > On Fri, Apr 3, 2015 at 12:47 PM, Craig Rodrigues > wrote: >=20 > > 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. > > > > -- > > Craig > > >=20 > And I keep meaning to write a tcsh completion script for pkg. Maybe I'll > get to at least a basic one next week. I see that bash completion scripts > are quite different, but I'll see if the _pkg.bash file can at least get = me > started. It does more than I'd probably get done in the first pass. that would be much appreciated :) Best regards, Bapt --wac7ysb48OaltWcw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlUfv2gACgkQ8kTtMUmk6EwHAQCfUWifZ9OLwu/xmlQY6Q7A5TZ6 ASAAnRPKoryTgkrUkUfqip46JG0YJXLd =tRj6 -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--