From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23319 invoked by alias); 22 Oct 2015 16:17:56 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20813 Received: (qmail 16855 invoked from network); 22 Oct 2015 16:17:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1445530295; bh=RJ17ZEGBsjRQhZDFeUErROabs9qO8S6gPwqB+iZm6nw=; h=From:To:In-Reply-To:References:Subject:Date; b=De+BpxSQsfPINQ+J4bxl59WZBIYD4WDHZDNFN0XmxDAqhfKH6xa6HUrZ585+96jO1 Oi72xunI+LpSro3trG08YS8Oe4BMxHG6WVEQ+Lpqq85hWHuXiWXOpvMZwxKDuN0J8T Op6DPRuyZu8jKfJ+VTNeN85s+Fpoyup3nX40plcU= From: ZyX To: Eric Cook , "zsh-users@zsh.org" In-Reply-To: <5628E8D7.8080505@gmx.com> References: <5628E8D7.8080505@gmx.com> Subject: Re: Accidental function definition - bug or feature? MIME-Version: 1.0 Message-Id: <3854791445530294@web16o.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 22 Oct 2015 19:11:34 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 22.10.2015, 16:48, "Eric Cook" : > On 10/22/2015 08:30 AM, Holger Hoffstätte wrote: > >>  So..bug or feature? >> >>  thanks, >>  Holger > > defining multiple functions at once is a feature > > mv cp() { >   $0 -v "$@" > } > > or defining multiple TRAP functions to do the same thing are usual uses for it. Can be disabled with unsetopt multifuncdef