zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: PATCH: newuser system
Date: Thu, 24 Nov 2005 06:00:54 +0000	[thread overview]
Message-ID: <1051124060054.ZM29995@candle.brasslantern.com> (raw)
In-Reply-To: <200511231113.jANBD95L013878@news01.csr.com>

On Nov 23, 11:13am, Peter Stephenson wrote:
}
} Here's a first pass.

This is an impressive piece of work.

} As this will be seen by a great many new users it
} really needs to be tested as widely as possible.

Am I wrong in thinking this could be tested by starting the shell with
ZDOTDIR in the environment pointing to an empty directory?

} It's designed to be running assuming .zshrc doesn't initially exist and
} doesn't assume (nor probe) any other shell settings.

Presuming that Clint will do something sensible for Debian, we should find
people to check a few other standard OS distributions (FreeBSD, NetBSD,
RedHat Linux, perhaps Solaris, etc.) to see if their standard new-user
skeletons might already include a .zshrc.  I don't recall having seen any
but I'm not exposed to as many OS variants as I used to be.

Misc. stuff:

} Index: INSTALL
} +"name=zsh/newuser" int the config.modules file, which is generated in the
                       ^^
(I didn't proofread the rest so closely, I fear.)

} +# Substitute an initial ~ for human consumption.
} +if [[ $zd = $HOME ]]; then
} +  zdmsg="~"
} +else
} +  zdmsg=$zd
} +fi

  zdmsg=${(%):-%~}

(How's *that* for obfuscation?)

Regarding keymaps ... it might be helpful if the explanatory text were
to recommend choosing the emacs keymap, as that's the one assumed by
most of the completion system initialization and the one most similar
to other line editors (e.g. bash/readline).


  reply	other threads:[~2005-11-24  6:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-23 11:13 Peter Stephenson
2005-11-24  6:00 ` Bart Schaefer [this message]
2005-11-24  6:17   ` Clint Adams
2005-11-24  6:28   ` Danek Duvall
2005-11-24 11:42   ` Peter Stephenson
2005-11-24 18:20     ` Bart Schaefer
2005-11-25 10:24       ` Peter Stephenson
2005-11-26 23:18         ` Bart Schaefer
2005-11-24 18:52     ` Wayne Davison
2005-11-29  1:58 ` Geoff Wing
2006-02-18  8:42   ` newuser in 4.3.0-dev-4 (Was: PATCH: newuser system) Geoff Wing
2006-02-18 12:57     ` Peter Stephenson
2006-02-19  5:13       ` Geoff Wing
2006-02-20 11:09         ` Peter Stephenson

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=1051124060054.ZM29995@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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).