From owner-freebsd-pkg@FreeBSD.ORG Mon Apr 6 06:36:17 2015 Return-Path: Delivered-To: pkg@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 A7FC9A52 for ; Mon, 6 Apr 2015 06:36:17 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (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 36B00A1D for ; Mon, 6 Apr 2015 06:36:17 +0000 (UTC) Received: by wiun10 with SMTP id n10so25641080wiu.1 for ; Sun, 05 Apr 2015 23:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=gpBc4wC6bgi9Ea41xYBMMFx/jleBScc/MB63zYJYp9M=; b=yy3C7SyaeasWAMnN0Q0jatTwxBz7e3jLSUWKwxy/gTLC0/QSvUvak43ThqizC8uYHG Sm33h/mBQ9mV0MHunIpvS0BFsNU4bluzHtU6icGvREdGQOixnvfNF4rp/cS5Jf1TRQaK m62BACMpkWdIHydI81LdiddHP4Y17JnmWfpIx7VDN3d3XXaaKE93kdl0Yfmf5YgZVVIZ zE8GhlolvFpcCX4nIlvt3TDDnMQ9v7ZRyCwV/3Z7R5o3EnLCH4nKSIgX+QnbUYbOqdS9 hf+K2tiWPd0qn0q2JTyuJ54CE2WVLJRRkdUYsQXz6FTmAIPU7Tu8La5GXQveqPTnrhEP yhoQ== X-Received: by 10.180.100.170 with SMTP id ez10mr28069934wib.81.1428302175813; Sun, 05 Apr 2015 23:36:15 -0700 (PDT) Received: from laptop.minsk.domain (minsk.nivalnetwork.com. [86.57.144.74]) by mx.google.com with ESMTPSA id di9sm1834713wib.16.2015.04.05.23.36.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Apr 2015 23:36:15 -0700 (PDT) Date: Mon, 6 Apr 2015 09:34:28 +0300 From: "Sergey V. Dyatko" To: pkg Subject: Re: Share your pkg aliases Message-ID: <20150406093428.7027c046@laptop.minsk.domain> In-Reply-To: References: <20150402201909.GD30115@ivaldir.etoilebsd.net> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kevin Oberman 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: Mon, 06 Apr 2015 06:36:17 -0000 On Fri, 3 Apr 2015 20:15:29 -0700 Kevin Oberman wrote: > On Fri, Apr 3, 2015 at 12:47 PM, 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. > > > > -- > > Craig > > > > 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. > -- > Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com Long time ago I started to do that: https://github.com/yoursbofh/pkgng-tcsh/blob/master/dot.cshrc_pkg but ENOTIME and so on :) I would be very glad if someone will continue -- wbr, tiger