zsh-users
 help / color / mirror / code / Atom feed
From: Vin Shelton <acs@alumni.princeton.edu>
To: Zsh-Users List <zsh-users@zsh.org>
Subject: Date format in prompt
Date: Sun, 22 Nov 2020 16:58:20 -0500	[thread overview]
Message-ID: <CACeGjnVOfjuNXwLeU4Ns7wkjB4BLNsFTT0QwxpjKbH3B=OyadQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

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*

[-- Attachment #2: Type: text/html, Size: 1317 bytes --]

             reply	other threads:[~2020-11-22 22:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-22 21:58 Vin Shelton [this message]
2020-11-22 22:22 ` Bart Schaefer
2020-11-24 12:50   ` Vin Shelton
2020-11-24 19:54     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACeGjnVOfjuNXwLeU4Ns7wkjB4BLNsFTT0QwxpjKbH3B=OyadQ@mail.gmail.com' \
    --to=acs@alumni.princeton.edu \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).