Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 1999 19:19:50 +0200
From:      Stefan `Sec` Zehl <sec@42.org>
To:        Gianmarco Giovannelli <gmarco@scotty.masternet.it>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: A new package fetching utility, pkg_get
Message-ID:  <19990926191950.A9492@matrix.42.org>
In-Reply-To: <4.2.0.58.19990926090211.009e0dd0@194.184.65.4>
References:  <199909252352.BAA26437@dorifer.heim3.tu-clausthal.de> <4.2.0.58.19990926090211.009e0dd0@194.184.65.4>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 26, 1999 at 09:05:20AM +0200, Gianmarco Giovannelli wrote:
> What about to extend the pkg_delete to use a syntax like :
> 
> pkg_delete /var/db/pkg/netscape-communicator-4.61/
> 
> it can help so much everyone that can automagically complete file/path 
> names with the shell :-)

If you use zsh, use this:

#pkg_delete completion (according to the manpage)
compctl -g '/var/db/pkg/*(:t)' -x \
's[-]' -k (v D n f p) - \
'c[-1,-p]' -g '*(D-/)' -- \
pkg_delete


CU,
    Sec
-- 
   Win16, Win32s, Win32c, Win32 - Which API do you want to go today?            


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990926191950.A9492>