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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3799 invoked from network); 26 Sep 2022 04:06:41 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Sep 2022 04:06:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Subject:Cc:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=LSSDRZ2UiXSir8p8+JaRgxDRoW30o40TCXgB8JK0bXQ=; b=jKuoRU5Wf+2QmD+kAg0k2SgxMY VWicWAQjC3r6HkXk4O7FZNuLCCvc3M+Qyz+h82srQw3+iyeEFtkdotx0t6uwao/Neuk3ys637C/dn VvIoT4I1oXkk5py/xJESbpAeL1yqYPeDccw+j4BgDvFZ1UH4luSkMOcHZOp7S83TucOOskKSOEjH9 jRW94TpG2a3i+zKPKXkZ3Z0RejOcR/9tzU0ZWBvOaikKeI3wO+5dXVgp/mSx3qBkB76zgRGC2GXHp UcOwW+n+XeGbUKfwf/9y+yCfDdKNXhxrLqrxnXX3hTiYcGdwLbTwjoB3lDBQZXy4Li8BIcuaaCYnk Qo3+ZYOQ==; Received: from authenticated user by zero.zsh.org with local id 1ocfOD-000OiR-IA; Mon, 26 Sep 2022 04:06:41 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1ocfJZ-000NsL-Vz; Mon, 26 Sep 2022 04:01:54 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 6074727C0054; Mon, 26 Sep 2022 00:01:52 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute2.internal (MEProxy); Mon, 26 Sep 2022 00:01:52 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeguddguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpefn rgifrhgvnhgtvggpgggvlhojiihquhgviicuoehlrghrrhihvhesiihshhdrohhrgheqne cuggftrfgrthhtvghrnheptdethfevgeettdfgueefuddtheefjeehffffuddvueekhfet ffdvtdfhveeggeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheplhgrrhhrhihvodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqddu udehudekjeejtdegqdduudelvdejfeekhedqlhgrrhhrhihvpeepiihshhdrohhrghesfh grshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iaa214773:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 36ADF31A0062; Mon, 26 Sep 2022 00:01:52 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-935-ge4ccd4c47b-fm-20220914.001-ge4ccd4c4 Mime-Version: 1.0 Message-Id: In-Reply-To: <3814798e-6937-073f-f78f-6f8517195013@eastlink.ca> References: <4934fe9f-6c6f-2fd9-038c-7e1b84c50dcc@eastlink.ca> <3814798e-6937-073f-f78f-6f8517195013@eastlink.ca> Date: Mon, 26 Sep 2022 00:01:31 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Ray Andrews" Cc: zsh-users@zsh.org Subject: Re: key binding not working Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 28138 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Sun, Sep 25, 2022, at 11:15 PM, Ray Andrews wrote: > On 2022-09-25 18:58, Lawrence Vel=C3=A1zquez wrote: >> >> The first command runs a NO_RCS shell and then sources /root/.zshrc >> *in the calling shell, after the NO_RCS shell exits*. It is not >> analogous to the second command at all. >> > Thanks.=C2=A0 I'll find out what NO_RCS is.=C2=A0 I thought 'zsh -f' w= as 'a clean'=20 > startup, nothing sourced at all. Not quite; the global zshenv (/etc/zshenv by default) is always run. > Then I could just feed it the scripts that I choose. Regardless of what type of shell you launch, the command you suggested earlier does not do that. Running cmd1; cmd2 executes 'cmd1' and then executes 'cmd2' after 'cmd1' has exited. This is basic shell behavior that is not affected by whether 'cmd1' is 'zsh -f' or anything else (alias shenanigans aside). --=20 vq