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, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11542 invoked from network); 9 Feb 2021 17:22:12 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Feb 2021 17:22:12 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1612891332; b=KagB0fjqomwxrndoEQbB3r2zbZ3YUdEVCJZbawhMeFBCKTfvSxninRMjLfAI1zzdnwdFVVq7Cy F2lAqpuT2xMyal0aUe4MdrwcrotvwWdVqqz/kGDZ+I1nPBalSQJjNb8fDmqe45M7XH70aZ/P4b af3RWrqu7NUsuuF+kBZC3MQeKBzuUBtpv7Rigc+0hQZaQNCuYgO93VEjdgxOmYI747FFkjMstq liFqtZimyoSVP0f1esmQQOBy3VDcWSJFtSLD/QRIVo4HWT39YDpEM9V5GPW2r406bgKcCZ7ZE1 yvgcqBEr32r99lRv6Lgms+7MnEuQKTZ1yM13G0ookJmo2g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-il1-f172.google.com) smtp.remote-ip=209.85.166.172; dkim=pass header.d=dana-is.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=dana.is; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1612891332; bh=8MMfHtjXcDb2ptlS1mRwDK96gCmGzN3lLd3fOv7RyXU=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:References:Message-ID:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:MIME-Version:Content-Type:DKIM-Signature: DKIM-Signature; b=OF2DPV9HIemr26MCPjQ+iSVydA9kpMaPFO9ozmvpQarjRSVzoWm3ZGDd4ZbvJdYVNQlqFwDsEg hzmYcndso4fPtui9qJUSP5Zgue4RMEDlCHMIDljxfwO1XUVF90/owIGnOf9H7jP8fhf0KCS6Zy jolp1oS+U+JD54xS2RUvUaNQM+oQGYFhPSiJFBvk2RRJNmSONcjWdAJMG2hY6k6aaizGEpIwVM 6Ne1E00IL72AuwYVwPBxszQJRs/iSL8C5NeGKKM3iMHLAA2rpVn5gTWk+MSl/gS+oPjXW1b7Mi jiXRMPobU90g3apH2ZOah1WgAmOLxpXbuZeANR53g3g81g==; 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:To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=8MMfHtjXcDb2ptlS1mRwDK96gCmGzN3lLd3fOv7RyXU=; b=ESMWMfTX0b5P8YsTanmNsWNZBI awzwY8hwb9+YI8ak9SRhEL34iizizkKUNuARcV8Vu8IPQVOuWwqqR0IDiyOdW13t9BNnYOl3RyHB9 KwMcVuJbB5qOsG1ydhdb3kTvnuc0rZgcMnRbDnPMTw3rIAibIBcdKCqB1MKBQQaNRIUVijB6MvJZB vZnaGHhrI5fd+6oM66pA2J8XN5LMKPmOfXEKuaI/6a1ITW6avVnNNXoczA6CMbIWbRvFmLFdm4vCU DrSwYy0a3ul8J8Blk0Zfe4j76ltL920AGZHIznjQKTBPFazGXAPnWlmAeE2DlhhOrl4nAr+COyptl 1zzW92UA==; Received: from authenticated user by zero.zsh.org with local id 1l9WiE-000DrR-Mz; Tue, 09 Feb 2021 17:22:06 +0000 Authentication-Results: zsh.org; iprev=pass (mail-il1-f172.google.com) smtp.remote-ip=209.85.166.172; dkim=pass header.d=dana-is.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=dana.is; arc=none Received: from mail-il1-f172.google.com ([209.85.166.172]:32804) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1l9Wi0-000DiH-7E; Tue, 09 Feb 2021 17:21:52 +0000 Received: by mail-il1-f172.google.com with SMTP id e1so16850058ilu.0 for ; Tue, 09 Feb 2021 09:21:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8MMfHtjXcDb2ptlS1mRwDK96gCmGzN3lLd3fOv7RyXU=; b=abxk3V5WGpwpEM8SbN/zC4Ko9fAvfNlOxOiLIS7qgCogOICO4TfJ2CvxrhxYq9vNu6 q6qh1+u0MXLq1b6gakOfRfLANm9t1S2BuOF7B+88PMKXiCDiZ58nHTtY14oN5WN3MKvi /3/ph3yKv2bEWgNqkUluhyzrYvwHs+04YM4RaJAHc436ypVLOBC9PLdusySTKUdKu1m5 M/vKOK8Ri3r1BLf+Da+fiJrNzS5Qcg3PfzqR8zwsT/IeJ6Wv4R4ukqUE1ODJlLTO6qBR DyPCGk8MR2mkwHXSUELlrxRZ3uC0hWD4N6Pyp03TQ6/j/nntsgVr4zPV2puvKd0Se7XD ujKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8MMfHtjXcDb2ptlS1mRwDK96gCmGzN3lLd3fOv7RyXU=; b=QcFTV9UQE1SumHzKwhvay/CHlftYZ6DEpqm9wxksBaOwxBwAbfFwWqnP2mVpKDXlSN 89I7NK0JhORljDHaE8rWeeCRgzzlYFA4eSBZEZNjQS3s47fPu2OpYRmxucAytkm6OQI9 xVFDdN1kiPqTp8DvdfoMBP9r1LXsPCMHT732x/S/iLoC9vPVSiW2oma8/T5CArzPHZtO UJp/8OMoROfum+T8UrAhTidD2dY1bjZLV59aPPjDVFVlAGBU5KJpu3sOW812bT2lUS6c u/Zr7f16pJvfTW1bBa26ZvGSM01MGeAVC/BbDRnxolWdRiff8xWm/49vRHK3s+LSvIYM I5MA== X-Gm-Message-State: AOAM5339SVTOsq2c1ShxyqUIahY6t6/+9ezwDnokgTyhHphKTbGFuFiF oLmrr55GzIHuvpTMafKpC6ZU3g== X-Google-Smtp-Source: ABdhPJyIw1fJ/2eJgxWdtqHzBsM+8EiDOAaxm+Bq/ZFpW5lSL53YFoC3cSFssTC8wTr6vUz26JtU6g== X-Received: by 2002:a92:c090:: with SMTP id h16mr21832551ile.190.1612891310948; Tue, 09 Feb 2021 09:21:50 -0800 (PST) Received: from heartswap.lan.dana.is (173-17-84-59.client.mchsi.com. [173.17.84.59]) by smtp.gmail.com with ESMTPSA id p6sm10881810ilh.30.2021.02.09.09.21.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Feb 2021 09:21:49 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Rewrite of zsh-newuser-install From: dana In-Reply-To: Date: Tue, 9 Feb 2021 11:21:48 -0600 Cc: Roman Perepelitsa , Bart Schaefer , Zsh hackers list Content-Transfer-Encoding: quoted-printable Message-Id: References: <0102017778f35f33-a962e4d3-83e9-4d3b-a0d7-45701bb40b11-000000@eu-west-1.amazonses.com> <8BA25288-0FFB-4FF4-9799-541D6A3C52DA@dana.is> <19996A10-103F-4054-AD57-FCED8E406687@dana.is> <86782FA5-6EBB-4FCD-90AD-D33F352455F1@dana.is> To: Marlon Richert X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Seq: 47977 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: On 9 Feb 2021, at 05:39, Marlon Richert = wrote: > But if you really want to see someone go wild with prefixes, check out > the Zinit code: https://github.com/zdharma/zinit/blob/master/zinit.zsh Oh yeah, i forgot, lol On 9 Feb 2021, at 05:39, Marlon Richert = wrote: > How is it risky? If you need to find a username that starts with a > certain prefix, then you will still be able to find it by typing said > prefix. We have included the _ignored completer, after all. People often use completion to find possibilities they aren't aware of = ahead of time, or to see what the total set of possibilities is. (At least i certainly do =E2=80=94 it's actually one of the *main* things i use it = for.) And since this is a config for novices, i'm afraid that we might trick them into believing that certain possibilities don't even exist. If they don't = know they're there in the first place, it will never occur to them to try = manually entering a _ or whatever before completing. ... But i also think you have to balance that fear with what's likely to = be the most convenient for the most people. So i don't know. I am starting = to feel like there's more merit to it than i initially gave it; i just want = to make sure we don't confuse or inconvenience many people. On 9 Feb 2021, at 05:39, Marlon Richert = wrote: > Ah, you mean, define the prompt in the system, rather than in this > .zshrc file? Yeah, that could make sense. Yeah, but Roman's point is very good. I guess if we wanted to we could = just maintain it in both places, it's only a few variable assignments. But = it's not a big deal either way, it was just an idle thought. On 9 Feb 2021, at 05:39, Marlon Richert = wrote: > Actually, I am currently working on a prompt system of my own (not > published anywhere yet). But instead of making this separate plugin, I > could of course consider contributing this back "upstream" in the form > of improvements to promptinit & co. Would that be something that you'd > be interested in? I can of course first publish the code, so you can > actually see what I'm talking about. Like i said, i don't personally use prompt themes, and probably never = will, so i may not be the one to ask. But ideas for improvement are welcome in = general, of course dana