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=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6251 invoked from network); 8 Dec 2021 00:51:45 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Dec 2021 00:51:45 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1638924705; b=g/xMZGssYvbqwmYSbDaB/g15inR1rD4wTYiMUsmKZJJuNlrWr213lrns5KJAN/PuTEYFSiZ51e Ws8ci2j5AJ+fNhWr/WmXT5n5plMbtqo9VveiMsLC7SimAeebHTGBNMKiWQX5CMRLAmwFc9x0g9 bG4Rn2yctqOb4LmPzzG1OO9Zw+IFC8Mjt6BpxgkEMFP0doSYjpKd65wQjmlKh6fgQm9Vq9+Otf f57sQxy8XrMmf2p6P9KRWXr4T8fgg0X1Q7XeEzjbyJvOFl4EMlrVBz7zDibxBd2K6iOAJkoXp3 rCiIJt8zlaQvXaTthcoIGo2Ja+J+0lD7R4eOy/YPrVwbXA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f171.google.com) smtp.remote-ip=209.85.219.171; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1638924705; bh=ltmCvn2PN9i2WavC6WvBKHZDw5UedlQFQUL3byiOg4c=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=fBxJqTA8+zfuz6DKyPZh4g7X1cuAt/28GLJxbdrVzwWwNOFmtrku8+9NKFI+ldL/DmNKBr8ETq KPzWk4kKOtglP9F025aVNZgmjEnPpl10oV/abGDM0mSR1koGjq3qFtY/z3zxPfkBp4tHgA3D8T JAvhF5Ig492faE+4SoPHW5btNFH+8r3s4aMO9F2HeBgkEfGRb9YPiqZeqWis+LMnHpF8tG47BM 0+THlTqQTomBPrB1plrFK1EnBVjXEPJcG6Rcy9VQnISqfxxmKeQWKQbhb5eGySNZrtBF0RqA6X Jd0/sy7pT17PuvNEmDZ2OO5uzf0pUAkrfBXUpuyxXeQXjw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=FXcHf0R4H1RpHKqL7/66N4p+R725w5Fz5ruPXmkcAXc=; b=iYo+tN68gcAz1Knrig7QR93oln y8IBKKkGBaMcN+KQpwU32DAcP/vfYlMcQNtFWybAPp4HQJ13PQhftWAIg9DPDagVuW24aC6YbXqgO yo/OFwbKRgc4amuIAn8InCg+uI/A78HSkDOIG5qRjNEDJDYnkOIHgsN8evAEYWIlay1y3mH+9uOrj D+pKdUZIljOjUsboi38rg5fCiAIsM48p68lAd5F6WSnl2ULh3O+I0nZUui1BDva2YtV/uUiXW1/FF k2jda2NHElu6aKXh2ecaRQ9bQK/ZrG63Nm6fJkLzwZ77J5uEZxNlwhhgdWMq592RgfrCbaqa3OsHD s5JZKLiA==; Received: from authenticated user by zero.zsh.org with local id 1mulBR-00091I-0O; Wed, 08 Dec 2021 00:51:45 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f171.google.com) smtp.remote-ip=209.85.219.171; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yb1-f171.google.com ([209.85.219.171]:40666) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mulAq-0008kT-GE; Wed, 08 Dec 2021 00:51:10 +0000 Received: by mail-yb1-f171.google.com with SMTP id 131so2065646ybc.7 for ; Tue, 07 Dec 2021 16:51:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=FXcHf0R4H1RpHKqL7/66N4p+R725w5Fz5ruPXmkcAXc=; b=slhkgzoM0J1HtxkQmACvT7ZcIMG5wxHAfn6Q8OMuVqzh0iUxQD00yfw9Ic7ukfKl2Z fBgC+VlFwkOsJf3muhDoHhfzetg+E0O68D/O2wJSEfAgWBSMWzWffn3Dj0zQLQLaG7/g TczO175TNtfu8oWMPJ6HzRgFcOf5lUmQt/dlafI9vc5aczgIZXf9mXpFbgOXrEu/wZcn 1U4vykqZGvzzZnpVBCJZ/yAzgufwG81/p4OiPuTc8Xr9+JUC+xIRco1rK10OYvU0FE3n wx8cI+E64fzVd42S2gh/Dpn72aKZngSFWElu3CvZxIXRh76V+60opi4HmY6OxrqxDzn4 xmTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FXcHf0R4H1RpHKqL7/66N4p+R725w5Fz5ruPXmkcAXc=; b=1k6atIui5K4n/7ho3F7D336j/Mf7qFckWXaqc8VXwvQPFzlfw1lpN6/pVT5AZvx+ir w8EPUFkCqFaFoyEehHR1/PRxo3fO0rPTGG3l2yPz7UihI8d8RD1G97s6GzYk62wNFEKW O7EEMXNgAO3g4i6nZv02HKUKSzv1XTRtL//q/N2PYVDQLv3dk+QwgILEytPxqEyOyBl6 4+1riLGDjKz9zvAOXHgAknWauTeTPRj7+/9WMBlTTLO9BAihaXRaHkfHSbyJEOQHxqaK RmMiHUWRtD1Avtt2W/OR1s8nPk3KSN1evX4DWLqCuqyzvl4WJRFR/HQ2g+EeYU1RyW4A Aa+Q== X-Gm-Message-State: AOAM531j3XP/ixuMgSLGrayT05p7x/hcAzF19onn7jd+b4fRJk88u9+D 5LMm0mJOmO7dxBEaujAJExus5MWyUe9/VgITs7aSwMrS8jI= X-Google-Smtp-Source: ABdhPJxJGOe6CxTL7CLwQzAxYJXOMnIfXm1FBsFjpYA4Zj55sWsNQ5vv1yniXSUOdqHM1ykK7PMo8DOmMMywIHEmAj0= X-Received: by 2002:a25:67c6:: with SMTP id b189mr56209967ybc.147.1638924667087; Tue, 07 Dec 2021 16:51:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Tue, 7 Dec 2021 16:50:56 -0800 Message-ID: Subject: Re: [FEATURE][PATCH] Complete local executables with ./ prefix, if prefix-needed is false To: Zsh hackers list Content-Type: multipart/alternative; boundary="000000000000987ac305d297e2be" X-Seq: 49637 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: --000000000000987ac305d297e2be Content-Type: text/plain; charset="UTF-8" On Tue, Dec 7, 2021 at 4:23 PM Aaron Schrab wrote: > > The already existing uses of `prefix-needed` are ones that I don't think > setting it to false would cause any serious problems. But for this I > think it's fairly dangerous > Hm. I haven't applied the patch to see what effect it has, but it appears it would cause the "./" to be prefixed onto the command word? If so, there's visible feedback; if not, the danger would be of invoking a command that's in $path instead of the intended local executable. So I'm not strongly concerned about danger; what is the behavior you'd find troubling? My question would be whether this needs any further changes to interoperate with prefix-hidden. --000000000000987ac305d297e2be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Dec 7, 2021 at 4:23 PM Aaron Schr= ab <aaron@schrab.com> wrote:<= br>

The already existing uses of `prefix-needed` are ones that I don't thin= k
setting it to false would cause any serious problems. But for this I
think it's fairly dangerous

Hm.=C2= =A0 I haven't applied the patch to see what effect it has, but it appea= rs it would cause the "./" to be prefixed onto the command word?= =C2=A0 If so, there's visible feedback; if not, the danger would be of = invoking a command that's in $path instead of the intended local execut= able.

So I'm not strongly concerned about dang= er; what is the behavior you'd find troubling?

My question would= be whether this needs any further changes to interoperate with prefix-hidd= en.
--000000000000987ac305d297e2be--