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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17056 invoked from network); 22 Nov 2020 22:00:55 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Nov 2020 22:00:55 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1606082455; b=AdSZlvvoeI3YVCWDOYh9W8Abtsdbig9LTgTKPvwTfzkM05rd/MkuN1dFYp73kVlCF5fvyQg8wf TldESvLebblFDFpaycUOkvg5YuHOG03B+Q0YOJfLclbaBe3MWA8iYYqmnq9K0/dxg1vJvUXxD1 Omc4sMKUGzbpGlYFx5Gu/MLvtUXbVDHeP7MSGEMXfuJD98keblcfdT95cabOddNCT4vjj18oAV n3bs4iO0kw/+QaxHKnlaHvYpXsUtKNPn6ExzTOBcffKohd8USDFflF18gw3sCFATFjpsMxNQyz pNp42I+12tHDTHfDRIIq+8v8V70me+bbWtbURNryEDqK5g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f46.google.com) smtp.remote-ip=209.85.208.46; dmarc=none header.from=alumni.princeton.edu; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1606082455; bh=fhTlQjm3Cz22gS11b7r6HE1jFHfQOABuxRLNBHdWK64=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature; b=eatavWDrskP0v49F42/vYsmNbPOKdeoAV9zREGbJRoRiD/ulizSHiHrtjD46nRZyoGnFr7Oqga +tpE6gbtrE2WbhmI7UpTMvitlZlivM90105sTHrE8B7jfKUPCO4DJS8blbxmKf+2A/RoTtzKI2 IdR6lzkNKvJEamTqHZlEQnaD75Wi9UP/pert/RYwalmUJST22ikFjm4WB2DAmkqYz6SQCD2xR8 +b9Zn+6T2MqJkX0hFsWj4uL66EeldCVVPRjytdJCaeR1vNqkkw2u8fRK4KCV4n3k1YewGaKf+Z lTBhU0ZVyosCxTgtL6K/EjI0x7VQZVQFUL7JvDooRiCHcA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:MIME-Version:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=BSXsqm1zG6YYlnjgAJAxYaskZNcfh3nFIkFVpHRhgtc=; b=JU2Peo2mNaFF+i6lplnEAfMup0 b9F2AIJFonblojg/sJShZ8ei/5j8rKYb4D2BXuppTqL3STG6za/0V/bMTKD2jWrpXRVQnzwGsEZIL 1+PvBA+yo2IhaonzWdTbrwA1pz7JX96Tuir6XItA5XLEJYv9BPaBMss8IfpiYKWk2LKWzayW+Xxva c88HTAS0Vtxa9ARcCdPVPLJ3EOw4BsGAGjgymcOETnJH24LvdMv/rMGgkhS9921UI0q0FHOraD0pp 9pKcy0GoV8ww7PT0w9VbOFhDfuU4SirtGwWGgDxjM3vlMp4KHPPLn9IsxFmwAApZlB3wBEJl0PL94 aSI0R5sQ==; Received: from authenticated user by zero.zsh.org with local id 1kgxPi-000AyV-VM; Sun, 22 Nov 2020 22:00:54 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f46.google.com) smtp.remote-ip=209.85.208.46; dmarc=none header.from=alumni.princeton.edu; arc=none Received: from mail-ed1-f46.google.com ([209.85.208.46]:44145) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kgxPE-000Ab0-Kh; Sun, 22 Nov 2020 22:00:25 +0000 Received: by mail-ed1-f46.google.com with SMTP id l5so15117989edq.11 for ; Sun, 22 Nov 2020 14:00:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BSXsqm1zG6YYlnjgAJAxYaskZNcfh3nFIkFVpHRhgtc=; b=ER0QmvLI/iWvP3KQRK7vJGAAWTnqvJN87Skso7Orzgsb2iTTSY+Vhi/NI4Npi70VTB dwTXgRsdXURtJZaD2DdK7I0p1wWGIIps/rFhyrVbj3ePicwGrs7Fw0xJ53XqdT7N4HgV 7qrsorUejt3pL5fZT+PqxKxWbJlhTPfdGZ6NaLwRo+Qq1a7llf1RGh1ujoF7nnR0iITR B2HYMSzS9S8p6O62zkni7R+zK9UVYTSvP3rwNaNWI+Szgl8D+/v8QCFn9p5VXyc6nJo1 6N8BLgfTzD/XL1kDkPbO63l63xO8WzLAh64pHr5iOy8yRO76yilaYHJH0W5xt/QSHSEv vQFQ== X-Gm-Message-State: AOAM533ABC2DztUQ5M2n7/4GNw1Qj+i/5DlcFRB4m9MCvQYtde2xmwKS UqLhEgg5YvqOO3d5EaIB9niWF7bAajv5xE3XzeueJyfD X-Google-Smtp-Source: ABdhPJxqridhJksfIPs5d/r5LcjOBjuV2AjivZ1WiqvBL/1PiTQeYnaScGNtG2HBNKFWoWS1ZO+t2pzYJk21ONHk7IY= X-Received: by 2002:a05:6402:144f:: with SMTP id d15mr45524714edx.300.1606082423552; Sun, 22 Nov 2020 14:00:23 -0800 (PST) MIME-Version: 1.0 From: Vin Shelton Date: Sun, 22 Nov 2020 16:58:20 -0500 Message-ID: Subject: Date format in prompt To: Zsh-Users List Content-Type: multipart/alternative; boundary="00000000000055fefb05b4b93440" X-Seq: 26194 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: Archived-At: --00000000000055fefb05b4b93440 Content-Type: text/plain; charset="UTF-8" Bart et al - I've used prompt bart for as long as I can remember. But I'm an ISO date kind of guy, and I'd like to use %D{%Y-%m-%d} to get a four-digit year. I've grovelled through the source code, but I can't figure out how to make the change. Is there an easy way to do what I want? Thanks, Vin -- *That's where you'll find me, over the horizon** Wading in the river, reaching for that other shore* --00000000000055fefb05b4b93440 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Bart et al -

I've used prompt bart for as long as I can r= emember.=C2=A0 But I'm an ISO date kind of guy, and I'd like to use= %D{%Y-%m-%d} to get a four-digit year.=C2=A0 I've grovelled through th= e source code, but I can't figure out how to make the change.=C2=A0 Is = there an easy way to do what I want?

Thanks,
=C2=A0 Vin

-= -
=
That's where you'll= find me, over the horizon
Wading in the river, reaching for that other shore
=
--00000000000055fefb05b4b93440--