Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 0/1] compaudit: add ZSH_COMPLETION_USERS parameter
- X-seq: zsh-workers 54892
- From: Petros Amoiridis <petros@xxxxxxxxxxxx>
- To: dana <dana@xxxxxxx>
- Cc: Oliver Kiddle <opk@xxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: [PATCH 0/1] compaudit: add ZSH_COMPLETION_USERS parameter
- Date: Wed, 1 Jul 2026 10:38:13 +0300
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=TQEnt/L3sbXWckkoXvfnG1/Z3Yhszfl645yJGp312hQ=; fh=jh0dJpn09VaGH796eNO29te1T/LbPpYBeMmnr2Y7KSM=; b=fvUdDRKvE3Wi1ZS1ReGFIS1psU5m5xsBI/MyHCRiMp/+GrQ2UtkSBbq243kAMDVSBz Lj7SVGdX9mkOcOfSW/1Ry1xhdvjPvhZJTxQQ9uSiBsy13gNK7lMS+pJYedIrDTMTAMpY 1jlb6nhaD5RhVb2tC7JBHf9tnhvIoCMdnU4bzIWgkKwSCwyHs3EHVC7Q5bFb21IH0KtE vpZgOhHf5cQBb7no13cn72ny3+uEtBq5Zcc1fuOWrnoUu49HCtAGfgdWHZZONkJTT0Cx WQ+RflFTPkSPXBEOzp6yXXIe8jzqmtWTg5mqG3/j8G8PffnRdOfE+9wcYsHUsuRe303r fQXA==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1782891504; cv=none; d=google.com; s=arc-20260327; b=BvwI90WQrEUX+GnnToc7OTGnC/eFhzoBllDxn/PGUifAxGweUbzKB+dVHUuxGdok9a qabIvccRki2EV4ENTGCfECwKR9v0CTwNdPcICq+GVHjOgP0dCOvswBknbm3iEF0wWmWw QNGH7wDn81B2+sqg6EUXk3kQoEAe3OyVKeErSz9j2+VARem50+H19WSVCkzx+Fwh1pFA azz5QdAJWIw+bv7id3rFrPz4lZNtSXRj2c42Up0DrmY5aHxxmAcsSnasBYjERt8MdvwF 0MNlpAGthRNxpX4zZhj2gS9pb9eIo/AlS1usbANcyTQalzS06UFsbCb8BVm+hOfNOdZs THyg==
- Archived-at: <https://zsh.org/workers/54892>
- In-reply-to: <12852b0d-aad0-4df3-9c0b-450339c6ee1f@app.fastmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20260630132020.75264-1-petros@workbrew.com> <7053b018-9e48-47c1-95ab-4c15f0d79cac@app.fastmail.com> <CAH+w=7aHdQU6spFU9tzUgRrHpb9V6qKMsoSkdBF9sUvY=2bReQ@mail.gmail.com> <68712-1782839130.588684@ZR5p.m2Pc.J9ps> <12852b0d-aad0-4df3-9c0b-450339c6ee1f@app.fastmail.com>
Thank you all. This is a better direction than my proposed approach.
Mikael, the export and the zshenv example were both wrong too, and the -t
route sidesteps all of it. So I'm happy to drop ZSH_COMPLETION_USERS.
dana, indeed, I used an LLM. I didn't mean any disrespect though. I've
been working on this on and off for months, and it also went through an
internal review by my team. And I tried to polish the cover letter to be
closer to my voice, but clearly I didn't do a great job. The proposed
idea came from us. We even considered a second approach which I was ready
to post as a new thread. However, given your proposed approach, I think
this is settled in the best way.
If it helps, I can test your patch against real setups once it's
available. I can test Homebrew zsh with /opt/homebrew/share/zsh owned
by a non-root
service user on macOS, and the same on Linux with a service account. I
can run the sudo case too.
Petros
Messages sorted by:
Reverse Date,
Date,
Thread,
Author