From owner-freebsd-ports@FreeBSD.ORG Thu Oct 18 15:08:08 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71FD357A for ; Thu, 18 Oct 2012 15:08:08 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 31CFB8FC14 for ; Thu, 18 Oct 2012 15:08:07 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so18198563iea.13 for ; Thu, 18 Oct 2012 08:08:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:subject:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=jOm8wt86O2H5aI99hVZkXeQrL6KUyt+v1IJsaFC6KiA=; b=ZH9YIaWYQ+A8TKmdQ/4MDf738V8CWUJ/wd5OovNa00iR9zQaTqGjXcRNeZYAJehwAt gEaz/bl4bi4o5jsCl1og65my2QOuhiOKXof+MrNLAWC6E24jcF22OSD5a7UdyLVWT664 vDNUxI7p5d7M+/uLdKT4qjLS9xZc7qDvtuhhuAeYd2ftrP3Y2E9V19QeHox3kqS2WytF flWSLUGRZf8CVw83Vx/2yg6prhXPLLm7dPAF9iWmYOD1no06BvsOL8I4WQdmZ6DHwv83 FLvZTnet51aF0PzOadEp0weJeeE1PWeMZ71LaCyGKp3aB4pbuXel2Rm4WldyOeyii65s pReQ== Received: by 10.43.9.3 with SMTP id ou3mr15427171icb.14.1350572887327; Thu, 18 Oct 2012 08:08:07 -0700 (PDT) Received: from wawanesa.iciti.ca (CPE0080c8f208a5-CM001371173cf8.cpe.net.cable.rogers.com. [99.246.61.82]) by mx.google.com with ESMTPS id y10sm10588222igc.13.2012.10.18.08.08.03 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Oct 2012 08:08:03 -0700 (PDT) Date: Thu, 18 Oct 2012 11:07:20 -0400 (EDT) From: gtodd@bellanet.org X-X-Sender: gtodd@wawanesa.iciti.ca To: FreeBSD Ports Subject: zsh/pkg - solaris completions used for pkgNG Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Gm-Message-State: ALoCoQkyoUtzxTOo5imGJPLP3IvJWgXAxZspJIDVdRlh4HetVQf5G5QeRmq+LpNAQklDIUrPE1Ud X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 15:08:08 -0000 Just a heads up (or reminder) to zsh and pkg maintainers that - at least with zsh-5.0 - zshell's completion is picking up solaris pkg commands as targets. I remember a discussion of tab completion targets for pkgNG from several months ago but I'm not sure this particular issue was raised. e.g. ~/ % pkg info -x pkg- zsh pkg-1.0.1 New generation package manager zsh-5.0.0 The Z shell ~/ % pkg [TAB] add-property-value list unavoid avoid mediator unfreeze change-facet property uninstall change-variant publisher unset-mediator contents purge-history unset-property facet rebuild-index unset-publisher fix refresh update freeze remove-property-value update-format help revert variant history search verify image-create set-mediator version info set-property install set-publisher The completions come from: /usr/local/share/zsh/5.0.0/functions/Completion/Solaris/_pkg5 A fix is to write completion for pkgNG one day ;-) or, for now, to simply remove that file from the zsh port. My guess is the _pkg5 functions can be hacked a bit to fit the needs of a very simple pkgNG but I haven't started doing that yet. Regards, grt