From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16260 invoked from network); 14 Jul 2005 09:56:01 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Jul 2005 09:56:01 -0000 Received: (qmail 76784 invoked from network); 14 Jul 2005 09:55:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Jul 2005 09:55:55 -0000 Received: (qmail 18000 invoked by alias); 14 Jul 2005 09:55:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21460 Received: (qmail 17991 invoked from network); 14 Jul 2005 09:55:50 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Jul 2005 09:55:50 -0000 Received: (qmail 76394 invoked from network); 14 Jul 2005 09:55:50 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 14 Jul 2005 09:55:45 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IJM00EDD3KVE2T0@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Thu, 14 Jul 2005 04:55:44 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j6E9tgYs028014 for ; Thu, 14 Jul 2005 02:55:42 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j6E9tgta028013 for zsh-workers@sunsite.dk; Thu, 14 Jul 2005 02:55:42 -0700 Date: Thu, 14 Jul 2005 09:55:42 +0000 From: Bart Schaefer Subject: Re: Default usability wiki page set up In-reply-to: To: zsh-workers@sunsite.dk Message-id: <1050714095542.ZM28012@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <1050713080132.ZM27122@candle.brasslantern.com> Comments: In reply to Keir Mierle "Re: Default usability wiki page set up" (Jul 13, 10:49pm) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Jul 13, 10:49pm, Keir Mierle wrote: } } Fair enough. I agree, we do not directly control what goes into the } /etc/z*, but would make install not clobber these files now? No, because those files aren't provided anywhere in the source. } This is a hack, and ugly, but perhaps we could check for the existance } of a .zshrc, and if not, invoke a 'first time? want some help?' mode That would be a possibility, though it'd have to look for more than just a .zshrc, and it'd have to operate only for unprivileged users and only in interactive mode, etc. } Cool, I didn't know about compinstall. I tried running it, no luck. } This is probably debian specific, but with zsh installed, there is no } hint about where compinstall is. It's explained in the zsh manual pages (or info files, I'm not a Debian user so I don't know what it installs with zsh). Quote: To run compinstall you will need to make sure it is in a directory mentioned in your fpath parameter, which should already be the case if zsh was properly configured as long as your startup files do not remove the appropriate directories from fpath. Then it must be autoloaded (`autoload -U compinstall' is recommended). You can abort the installation any time you are being prompted for information, and your .zshrc will not be altered at all; changes only take place right at the end, where you are specifically asked for confirmation. } I have another crazy idea: Why not add a standard 'help' command? There's provision for this included with the zsh sources. Once again it's up to the packagers to actually install the files from which the help is read. Admittedly, the script that auto-generates those files probably needs a bit of maintenance that it hasn't received recently. The command is called run-help rather than just help, because it's set up to be invoked by ZLE in a manner similar to completion. Also because back in the day (zsh is going on 20 years old now, remember) there was already a "help" command provided with UNIX systems that did something somewhat different. Setting up the help is mentioned in the manual, too (see "helpfiles").