From: Clint Adams <clint@zsh.org>
To: zsh-workers@zsh.org
Subject: Re: newuser recommended config option
Date: Wed, 30 Jun 2010 13:06:23 +0000 [thread overview]
Message-ID: <20100630130623.GA21133@scru.org> (raw)
In-Reply-To: <20100606183358.2441e4a1@pws-pc>
On Sun, Jun 06, 2010 at 06:33:58PM +0100, Peter Stephenson wrote:
> Looks a reasonable idea. One worry is it might be a lot of work to do this
> widely enough to be really usful. But with the test it's no worse than
> harmless. You might want to note it's incompatible with using
> zsh-user-install menus and that the file needs editing by hand, even
> though that's kind of hinted at by the context.
Someone also pointed out that zshrc.recommended sorts "better" than
recommended.zshrc.
Index: Functions/Newuser/zsh-newuser-install
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Newuser/zsh-newuser-install,v
retrieving revision 1.9
diff -u -r1.9 zsh-newuser-install
--- Functions/Newuser/zsh-newuser-install 30 Jun 2010 12:49:30 -0000 1.9
+++ Functions/Newuser/zsh-newuser-install 30 Jun 2010 13:05:21 -0000
@@ -954,10 +954,11 @@
print -r "
(1) Continue to the main menu.
"
- if [[ -f /etc/zsh/recommended.zshrc ]]; then
+ if [[ -f /etc/zsh/zshrc.recommended ]]; then
print -r "
(2) Populate your $zdmsg/.zshrc with the configuration recommended
- by the system administrator."
+ by the system administrator and exit (you will need to edit
+ the file by hand, if so desired)."
fi
read -k key$longprompt
@@ -977,7 +978,7 @@
;;
(2)
- cp /etc/zsh/recommended.zshrc $zd/.zshrc
+ cp /etc/zsh/zshrc.recommended $zd/.zshrc
source $zd/.zshrc
return 0
;;
next prev parent reply other threads:[~2010-06-30 13:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-04 20:16 Clint Adams
2010-06-06 17:33 ` Peter Stephenson
2010-06-30 13:06 ` Clint Adams [this message]
2010-06-30 13:19 ` Clint Adams
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=20100630130623.GA21133@scru.org \
--to=clint@zsh.org \
--cc=zsh-workers@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).