From owner-freebsd-ports@FreeBSD.ORG Fri Apr 3 19:47:34 2015 Return-Path: Delivered-To: ports@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 28E8FB4C; Fri, 3 Apr 2015 19:47:34 +0000 (UTC) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (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 9DB9BA14; Fri, 3 Apr 2015 19:47:33 +0000 (UTC) Received: by lbdc10 with SMTP id c10so84079525lbd.2; Fri, 03 Apr 2015 12:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=3xdcMIsR3o/4OlpRIxYQt2n2Sip/EXVhHkI8G7R5BZw=; b=05CPcLlopA9sA+abFaacs5rvywXCH0Qwpi7WDGKeZSf2cQEwv9g2vesGRRRXMI3vwb ovpllAUiYWmQRqPZA3525ROwUZCgfJ0P3ZIqcq9Qz5nNns/vOfHyRVJjDWg4Gkx+yTjx Au7HiKBzMAAyyzA7eu0zTAR6QTHnkm0VYtPZx1zl41PT5hizP3Ai/4Pm5+yAST/sUmjz jgCh/HmAsCUWJFDOaos5SNqJSl8S7bkDl9fyKpicABOlSvCLrcvQ6/49iZHL5gDT2HGF fcRjIq6OZSGorBNMJVrPJvx9QgcSyy6R6b+tJm8uLnFThg0yzAypAzYesbP044yYyt6J kcug== MIME-Version: 1.0 X-Received: by 10.152.44.161 with SMTP id f1mr3435489lam.26.1428090451768; Fri, 03 Apr 2015 12:47:31 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.108.168 with HTTP; Fri, 3 Apr 2015 12:47:31 -0700 (PDT) In-Reply-To: <20150402201909.GD30115@ivaldir.etoilebsd.net> References: <20150402201909.GD30115@ivaldir.etoilebsd.net> Date: Fri, 3 Apr 2015 12:47:31 -0700 X-Google-Sender-Auth: rsXX1EZZ6XnyvCOuJAJK-jP0cDQ Message-ID: Subject: Re: Share your pkg aliases From: Craig Rodrigues To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Fri, 03 Apr 2015 19:47:34 -0000 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