From owner-freebsd-ports@FreeBSD.ORG Tue Sep 15 19:06:39 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C2E61065676 for ; Tue, 15 Sep 2009 19:06:39 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 1E9178FC14 for ; Tue, 15 Sep 2009 19:06:38 +0000 (UTC) Received: (qmail 3080 invoked by uid 399); 15 Sep 2009 19:06:37 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 15 Sep 2009 19:06:37 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4AAFE5B7.2020701@FreeBSD.org> Date: Tue, 15 Sep 2009 12:06:31 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> References: <4AAF58A0.2000401@FreeBSD.org> <4AAF64FC.4000200@quip.cz> In-Reply-To: <4AAF64FC.4000200@quip.cz> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: lars.engels@0x20.net, freebsd-ports@freebsd.org Subject: Portmaster tcsh completion (Was: Re: Portmaster updates, including multiple -x options) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2009 19:06:39 -0000 Miroslav Lachman wrote: > Nice improvements! Thanks. :) > When you are talking about completion, I am using this for tcsh: > > alias _PKGS_VeRsIoN_ 'ls -1 /var/db/pkg' > > complete portmaster 'c/--/(force-config show-work clean-distfiles > clean-distfiles-all \ > check-depends help version)/' \ > 'c/-/(a b B C d D e f F g G h H i l L m n o p r R s t u v w x)/' \ > 'n@*@`_PKGS_VeRsIoN_`@' > > It is basic for older version of portmaster, so I am sure it doesn't > contain all the options. I can polish it up if you want to include it in > you port. > > It can be rewritten to not use alias _PKGS_VeRsIoN_. The alias is there > because I am using it for other completion in my ~/.cshrc. > > And one thing is missing - support for completion of /usr/ports/* I'll say the same thing about this as I did about the zsh completions, since I don't use tcsh I must leave it to the community to point me in the right direction. If you tcsh users can come to consensus on this I will be glad to include it. Doug -- This .signature sanitized for your protection