From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7283 invoked from network); 21 Aug 2020 15:49:21 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 21 Aug 2020 15:49:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=7PAvQ/ABdqe89pDCD4n0FCCiRvZSE9wtc1n5EK1JREM=; b=elmOFkCmHRd97JA9lq7gGHHIH6 8U9cjhQpQRZ+S8BnbB2FRKaAvqwempjuAdTNq/Iaga+hmP0F9gVAektpzBvLeK9k2i2y6O5rp2NXX oDLjWi2b0qomrvq3aINbimg+f192+ONbGJyJK32dzJrjQHcRIkg0JnoBjQNrq8o1fSe0bKd16Xofi aVND+kJsk/ZcUBq4t6qgRHDyTj4DUEM6nUQePQpArC1mTU9RG2/hFfq3th5BTQC1Vxg+SzA+Kca3T nv6+kGloIuZdouoMPkch9lOpBGFk4ZPulcLJLp7kePFjqwJr/OCE7Z92Ov/jFcxA4FvpEWcn7qxMU mgSQXFPQ==; Received: from authenticated user by zero.zsh.org with local id 1k99I8-000080-Vg; Fri, 21 Aug 2020 15:49:20 +0000 Authentication-Results: zsh.org; iprev=pass (freekahlil.inlv.org) smtp.remote-ip=46.19.33.18; dmarc=skipped; arc=none Received: from freekahlil.inlv.org ([46.19.33.18]:12154) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1k99Hv-000Pxo-Hs; Fri, 21 Aug 2020 15:49:08 +0000 Received: from [192.168.1.250] (host86-142-63-153.range86-142.btcentralplus.com [86.142.63.153]) (authenticated bits=0) by freekahlil.inlv.org (8.15.2/8.15.2) with ESMTPSA id 07LFn6pN073244 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Fri, 21 Aug 2020 17:49:07 +0200 (CEST) (envelope-from martijn@inlv.org) Subject: Re: command -p should enable builtins not in path To: zsh-workers@zsh.org References: <20200820112815.GA216072@zira.vinc17.org> <1194318329.1319677.1598015007835@mail2.virginmedia.com> From: Martijn Dekker Message-ID: <861d1eee-a00b-f90d-21f3-7129afa4d765@inlv.org> Date: Fri, 21 Aug 2020 16:49:06 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <1194318329.1319677.1598015007835@mail2.virginmedia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Seq: 47333 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: Op 21-08-20 om 14:03 schreef Peter Stephenson: > I tend to agree there's not a lot of point in this incompatibility, > given where the "-p" flag originates --- it's a relatively late > addition to zsh. > > Here's one possible fix. It seems inconsistent/unexpected if 'command -p cd' works, but 'command cd' doesn't. - M. -- || modernish -- harness the shell || https://github.com/modernish/modernish || || KornShell lives! || https://github.com/ksh93/ksh