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 c4c48146 for ; Thu, 2 Jan 2020 12:01:41 +0000 (UTC) Received: (qmail 2968 invoked by alias); 2 Jan 2020 12:01:36 -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: 45192 Received: (qmail 19505 invoked by uid 1010); 2 Jan 2020 12:01:36 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f66.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.66):SA:0(-2.0/5.0):. Processed in 1.644749 secs); 02 Jan 2020 12:01:36 -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.66 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=KdIUjDGhsGEKA3gp30WFLGB4IxQtCmWIEouWSaC/wBQ=; b=L4JOLXVDZgviVkyYKHZCT75AQF0qjL/AG7jmruSMT6AkZrcQnuw1MrXAnmKHsYgMss Zlbd/zGr140xLcn9N6C+6mQWa8FmhbwuPs8kX99ZFvDF5BBBXsqSm4G+mWoTyKcapZwF /sOWH53P/uEvrYR5uun2xRGP3YmobNdH5GenQEc0Frzdr1yIbDwoWF1KiV7XiUIdz+dQ jAyO4LeA8GnCVMrEh+BfRhaZCehmy3svG8NEjB4XdCQ9czsDVm/NbYJ658NofNPhnuAN avdz4BJQk6AJaVecHgI0hhZ3u4lRNp+Egu63C4MOq3APmsc9accANnwF1NkucJor78vD E1YA== X-Gm-Message-State: APjAAAUDTBRqDpX6qOYKvaYZBobg1GuBN8DGDXqMXH8o80cue7HTZBPW v1K9HR6aAPpIzej88zCuPMf5k/GznIMSHTEiJXY+b6aJFCM= X-Google-Smtp-Source: APXvYqxoXCZwmmS8UJua5u3/SjFG9ncySqVJ6F1pAtsUUlqGA9dIJvRqVTRRUc0VmLEoTD2WILpb+nvPthLOcWjOeZo= X-Received: by 2002:a6b:b941:: with SMTP id j62mr57117817iof.168.1577966461891; Thu, 02 Jan 2020 04:01:01 -0800 (PST) MIME-Version: 1.0 References: <63663202-4b1d-428a-b16b-5be1425e84ef@www.fastmail.com> In-Reply-To: <63663202-4b1d-428a-b16b-5be1425e84ef@www.fastmail.com> From: Roman Perepelitsa Date: Thu, 2 Jan 2020 13:00:50 +0100 Message-ID: Subject: Re: Official plugin manager? To: Daniel Shahaf Cc: Sebastian Gniazdowski , Zsh hackers list Content-Type: text/plain; charset="UTF-8" On Thu, Jan 2, 2020 at 12:04 PM Daniel Shahaf wrote: > [...] let's talk about problems I've switched to Zsh in early 2019. I don't claim to be a typical user but perhaps my recollection of the transition will illuminate some of the difficulties new users face. The only shell I'd used prior to switching to Zsh was Bash. My rc files were based on the stock configs supplied by the distro. Over the years I'd added a few `export`, `alias` and `bind` statements, but other than that I hadn't changed anything. When upgrading my distro I would transfer over my rc changes to the new stock files. When I decided to try zsh, my distro of choice was Ubuntu. The installation of zsh was as easy as I could ask for -- just `sudo apt install zsh`. When I typed `zsh`, I was greeted by the new user dialog. This was a pleasant surprise turned sour. I tried going through all options to see the whole configuration space but gave up after a few minutes as I was unable to understand the implications of my answers. I quit the dialog without writing ~/.zshrc. My idea was to see what the experience is like without a custom config. It was intimidating. Prompt was missing the information I was used to (the default Bash prompt in Ubuntu shows user@host and the current directory in different colors). Basic keys such as home, end or delete didn't work. I fired zsh again to try the new user dialog once more and chose the "recommended" option. This hasn't fixed neither prompt nor key bindings. I deleted ~/.zshrc and gave the new user dialog one last try. This time I went through every single option to see if it'll ask me about prompt and key bindings anywhere. No such luck. At this point I googled "zsh basic config" or something like that. All top results said to install Oh My Zsh, so I did. This gave me prompt closer to what I wanted and my keys worked. I should note that Bash without user rc files is also underwhelming. While the basic keys still work, prompt is `bash-4.4$`. What makes the out-of-the-box Bash experience decent on Ubuntu is /etc/skel/.bashrc, which becomes ~/.bashrc for new users. Roman.