From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8998 invoked by alias); 9 Dec 2016 19:27:11 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22172 Received: (qmail 9503 invoked from network); 9 Dec 2016 19:27:10 -0000 X-Qmail-Scanner-Diagnostics: from out4-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.28):SA:0(-0.7/5.0):. Processed in 1.477954 secs); 09 Dec 2016 19:27:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= mesmtp; bh=+mI/GG9nwvnSjxk/pDPVUyDEnag=; b=g8/PezZ6PChDuNaj8IrJ5 NASJ5DSW0ZrkwMrvVw8wJcDjL3oXvUzThMzWe7AFifgG6DJgoUlRz6VVpky6hYPz y4Xh23VgjptaC6YC9qPRgDrz/KREK/ab9GZB2WxVe+ZN8irLoATGiLDNZUoX8zKx ibuH2DH9jcJNQqe2NP6bck= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=+mI/GG9nwvnSjxk/pDPVUyDEnag=; b=eKR38bxlBl/f3g5m74Ra SXW8O91C1rfb9wMFicZmAfW4n8sHtbDcbXMqGKzdH2dvKUp+zxJSjuDezSutfYRp YvPLzj+438ELFBF3+H4QWUihlQRAQFx364B4m6Y21E4dEMx55F/iIsdGYxtdh2n8 JMXm2968ZnZaLipS9q0AAls= X-ME-Sender: X-Sasl-enc: Id7g4eQAz3mKvYZAouvnpTH4KWxxPkWVhpjzpw/b73J5 1481311620 Date: Fri, 9 Dec 2016 19:24:06 +0000 From: Daniel Shahaf To: zsh-users@zsh.org Subject: Re: off topic Message-ID: <20161209192406.GA27532@fujitsu.shahaf.local2> References: <20161209122958.GD19559@256bit.org> <57127.1481294647@hydra.kiddle.eu> <584AC8AC.9050406@eastlink.ca> <62522.1481300922@hydra.kiddle.eu> <584AEDBF.2050402__19991.0537027337$1481307418$gmane$org@eastlink.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <584AEDBF.2050402__19991.0537027337$1481307418$gmane$org@eastlink.ca> User-Agent: Mutt/1.5.23 (2014-03-12) Ray Andrews wrote on Fri, Dec 09, 2016 at 09:45:35 -0800: > if zsh only came out of the box with just some basic stuff that almost > everyone will want, that sure would have been appreciated at the time. Actually, I think that already exists, in a way: % env -i ZDOTDIR=$(mktemp -d) zsh This is the Z Shell configuration function for new users, zsh-newuser-install. ⋮ (2) Populate your /tmp/tmp.Z4bUNG8Gz5/.zshrc with the configuration recommended by the system administrator and exit (you will need to edit the file by hand, if so desired). --- Type one of the keys in parentheses --- Typing "2" creates a .zshrc with reasonable default settings, and drops the user to the prompt; no further menu choices. The catch is that that check is hardcoded to inspect /etc/zsh/newuser.zshrc.recommended; that is, it ignores configure's --prefix. So if we could make that check honour @PREFIX@, and ship a "recommended zshrc" that is less minimal than the default no-zshrc behaviour... I think that'd be a good step forward.