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 16340 invoked from network); 23 Dec 2021 05:15:45 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Dec 2021 05:15:45 -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-Type:Subject:Cc:To:From:Date: References:In-Reply-To:Message-Id:Mime-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=R0IBy1x1MCAdbSEMzKWhRZepAf+ZQVv539fR6hL17wU=; b=HjEhg1DtYqs+hhwt9I2Vk2+Adj 8hUqG/h8U/thQ6AmngSqPCUNrHlL+KrZ8qh2pF6HNDemf2I/PqNKAPZnUQRiC40/nLu05jEJwVj9C ut6336+yjvFnNTWSS0LHa2wbfC/OIf8lUNwHnDYcaWCdsYSa5vf7rEd+CWAJHJTZ6TA9A5DUBhRW0 IyprF4Q5I300aWGeIgW1AfusP+801k9G7r5vyVBlmnqIfP6PuhVF46rqYa9XeHNGZFh6dF7P0Xjks gzi5IYDS6c8KjmVnrzWXoZhXx5OI+rhESHhkZFuyDqt+xFPzFIKhTiJ1HzJMWj7YoX4KL/oDPPkL9 7HJ46CxA==; Received: from authenticated user by zero.zsh.org with local id 1n0GS9-000DaF-Cd; Thu, 23 Dec 2021 05:15:45 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1n0GPG-000CnM-Po; Thu, 23 Dec 2021 05:12:47 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 8F86627C0054; Thu, 23 Dec 2021 00:12:45 -0500 (EST) Received: from imap48 ([10.202.2.98]) by compute4.internal (MEProxy); Thu, 23 Dec 2021 00:12:45 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddtjedgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderreejnecuhfhrohhmpefnrgifrhgvnhgtvggpgggvlhojiihquhgviicuoehlrghr rhihvhesiihshhdrohhrgheqnecuggftrfgrthhtvghrnhepueegjeeuudeuvdfhkeffje ejffeileehgfelffevtdegheetvdfgudeuveehvedvnecuffhomhgrihhnpegtohhnthhr ohhltgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehlrghrrhihvhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddu hedukeejjedtgedqudduledvjeefkeehqdhlrghrrhihvheppeiishhhrdhorhhgsehfrg hsthhmrghilhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3593D21E006E; Thu, 23 Dec 2021 00:12:45 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4525-g8883000b21-fm-20211221.001-g8883000b Mime-Version: 1.0 Message-Id: <963db017-2373-44d2-8daa-3df2410e53be@www.fastmail.com> In-Reply-To: <20211222215347.6316899d57a34966976ef127@gmx.com> References: <20211222210419.73684c0d582119959772a9a9@gmx.com> <20211222215347.6316899d57a34966976ef127@gmx.com> Date: Thu, 23 Dec 2021 00:11:34 -0500 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Duke Normandin" Cc: zsh-users@zsh.org Subject: Re: My zsh prompt Content-Type: text/plain X-Seq: 27441 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 Wed, Dec 22, 2021, at 11:53 PM, Duke Normandin wrote: > prompt_kir.zsh => https://controlc.com/06817c16 Okay, the relevant bit is this -- RPS1="%(?..%B%F{red}<%?>%f%b)" -- specifically ''%?'', which is described in zshmisc(1). %? The return status of the last command executed just before the prompt. -- vq