From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 9093428a for ; Fri, 3 Jan 2020 21:52:05 +0000 (UTC) Received: (qmail 14661 invoked by alias); 3 Jan 2020 21:52:00 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45217 Received: (qmail 3958 invoked by uid 1010); 3 Jan 2020 21:52:00 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f50.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25677. spamassassin: 3.4.2. Clear:RC:0(209.85.166.50):SA:0(-2.0/5.0):. Processed in 1.568968 secs); 03 Jan 2020 21:52:00 -0000 X-Envelope-From: roman.perepelitsa@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.50 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=r4h59GnstUT/zKej7fmvgqx+WTVvNPSszhoDnYxFI6o=; b=rgCTFeiypA6L5f+SAB7r2mRN+I8+ZTDzImeIXIpJKxK/TZT03AZtuSID0FyYzYtBTg iTLY/sFT02TGCNCqYJWIqRu8jCRw4xGQTj3D3rvBy/tpcs89Dg0+q7QOkvHyUgPat+dK RXXJZgwsSY1xGkxY9OKj0R9WpIEWP9htvQn0e0RLpdy9PNtG/x1JoRFeIdRmKiW+2jUq vEfDqqpH6HpumdtmWUEjO2AotXtSz+sXmT/KMwMmPRtj9ZekLqEuJLOk5wI4vODytDBa EEN3prdr4ZCqdJwNj7k9YtYuFHjAarDyJjW1XAzcldKHUXRp37N8MMwMtxGXtIomFy8e toug== X-Gm-Message-State: APjAAAXbVUu5a8/vYAytNQ6fhPb9Tqrfp5h20nB7Itd2OrhVfRkhTn+d V73poVdYrDfLLyCr5aBgSdsgj70oRjFozSBoB4kKMP62 X-Google-Smtp-Source: APXvYqx4xDDeZRlVTE2+Fa0+fR/863MICWBPvB9ygXxnjcoVyiaasC/nORoBeE9UOTHFrjADR04ALQcbtu6rMd7ZDKo= X-Received: by 2002:a05:6638:72c:: with SMTP id j12mr73139563jad.136.1578088286098; Fri, 03 Jan 2020 13:51:26 -0800 (PST) MIME-Version: 1.0 References: <63663202-4b1d-428a-b16b-5be1425e84ef@www.fastmail.com> <0C0C9775-59EE-4FBB-AB84-3E7FEF6E5024@dana.is> <186D63AE-2F2A-41C3-9E09-CEE0714E2B7F@dana.is> <12F64C78-BFA2-460C-80D4-921F22C72F78@dana.is> <1578063609.4581.6.camel@samsung.com> <20200103204856.bv6f3dkqhtrjm6vm@tarpaulin.shahaf.local2> In-Reply-To: <20200103204856.bv6f3dkqhtrjm6vm@tarpaulin.shahaf.local2> From: Roman Perepelitsa Date: Fri, 3 Jan 2020 22:51:13 +0100 Message-ID: Subject: Re: Official plugin manager? To: Daniel Shahaf Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" On Fri, Jan 3, 2020 at 10:06 PM Daniel Shahaf wrote: > P.S. Some ideas for what to have there: > > - PS1 This is just my personal opinion that I don't hold very strongly and my voice obviously carries little weight here. I think zshrc recommended by zsh should be very conservative. It should enable users to get started (basic keys must work, prompt must show current directory, completions must work -- this sort of stuff) *and* it must enable average users to take control over their configuration. The danger of too complex starter zshrc is that users won't be able to understand it, and will have worse setup long term because of this. To be more specific: - no vcs_info. in some environments it makes prompt noticeably slow; it also adds a lot of complexity - the config itself must not have any configuration options of its own, be it zstyle or parameters; it's a config, not a meta config; users should be encouraged to edit it rather than create another config with parameters for this config and source one from another - no prompt_subst or precmd hooks - no prompt shortening; display directory as %~ - no syntax highlighting, autosuggestions or any other external plugins; autoloading functions bundled with zsh is OK - single file (zshrc) The file should explain through comments what things mean ("%~ is current directory", etc) and should suggest where users should add their aliases and exported variables. Comments should also suggest where more information can be found ("for more information about prompting, see xxx"). Links to web pages here work better than `man` commands, although putting both of them will also work. What about the goodies though? Leave that to the market. Anyone can come up with a config template, or even an interactive dialog that creates a config based on your preferences. Let them compete. zsh should be *usable* upon installation but not bloated or opinionated. Just my 2 cents. You may notice that my opinions here can be summed up as "do what Bash does" without much loss of fidelity. Roman.