From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20929 invoked from network); 20 Feb 2009 16:15:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 20 Feb 2009 16:15:39 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 10450 invoked from network); 20 Feb 2009 16:15:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Feb 2009 16:15:32 -0000 Received: (qmail 9849 invoked by alias); 20 Feb 2009 16:15:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26587 Received: (qmail 9832 invoked from network); 20 Feb 2009 16:15:23 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 20 Feb 2009 16:15:23 -0000 Received: from uucp.gnuu.de (uucp.gnuu.de [83.246.114.63]) by bifrost.dotsrc.org (Postfix) with ESMTP id A25B280271F0 for ; Fri, 20 Feb 2009 17:15:20 +0100 (CET) Received: by uucp.gnuu.de (Postfix, from userid 10) id EC22F4880B1; Fri, 20 Feb 2009 17:15:17 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.5.2 uucp.gnuu.de EC22F4880B1 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1235146517; i=@alea.gnuu.de; bh=mh8mQgZ40fjLyQd9xUyH8/Ac+tGY6PIjY FG9qIriHvE=; h=To:From:Subject:Date:Message-ID:Mime-Version: Content-Type:Content-Transfer-Encoding:Sender; b=oLKwBdyHMpSE3zn4O PUjmWbScFo5EyOjjik9BZCnfuh6whZP2yfEEv11HehzQpHj2dPA4yW7XR6IfMaHTek1 8fDl1pJFrPCLqt/0gIoH0IVosNqZYxfekcpdec2PaCpSgeADDYs4ZY0q6GzoywZm5s2 XEX308IbE9w7Nj5snJ4w= Received: from news by alea.gnuu.de with local (Exim 4.69) (envelope-from ) id 1LaVoe-0001jv-Ne for zsh-workers@sunsite.dk; Fri, 20 Feb 2009 14:53:20 +0100 To: zsh-workers@sunsite.dk Path: not-for-mail From: =?UTF-8?Q?J=C3=B6rg?= Sommer Newsgroups: local.mailinglist.zsh Subject: Why run-help gets the expanded command? Date: Fri, 20 Feb 2009 13:53:20 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: alea.gnuu.de 1235138000 6689 192.168.0.5 (20 Feb 2009 13:53:20 GMT) X-Complaints-To: usenet@alea.gnuu.de User-Agent: slrn/pre1.0.0-2 (Linux) Sender: news X-Virus-Scanned: ClamAV 0.92.1/9016/Fri Feb 20 05:03:22 2009 on bifrost X-Virus-Status: Clean Hi, I've defined some aliases like wget='noglob wget'. Running run-help (ESC h) for these commands gives me the help for noglob. I've checked and run-help is called with noglob, i.e. the expanded command and not the one typed in by the user. I didn't found where run-help gets called to fix it there. The other way would be to use getln to get the correct command line and use this in run-help. Which one would you prefer? Bye, Jörg. -- “UNIX was not designed to stop people from doing stupid things, because that would also stop them from doing clever things.” (Doug Gwyn)