From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3458 invoked by alias); 18 May 2015 01:44:50 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35172 Received: (qmail 3737 invoked from network); 18 May 2015 01:44:47 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=FRV34gMB5jNRUdx4re9wj68jNHq1P8neT7Sn2gKIGZs=; b=fxtwMsQEAr6/YVHozWeMt9SoOVgCKBlCdT1yavQ5XXp671e1YVo5kBrtnhFCaQ/tO2 WfghbEbLMzBfxa6WMPX7uy9xegh6MSP6+a4nyBAl0Zy33y1ZuBRWapnUsRVyuPF8vedz rZBB/5mmF+6iTGHYBPf4mT6BXw3LIm8kKlwCGBTgRAW972q2J9rz8Jsquo0EhhBo4iJM QQkzi4S+qaF835S1W21hHygfZYDqw0Ny/mKm/dDv8xKaJ8MLcHsxVqomKJ3m1ZaQaA2a v2QlV31oI/iTAX4NgncE/3ubq0qnJn16Q9Xfg6uRzOzQVSVF1JTNU1saSy6p8YVynwiB z3JQ== X-Gm-Message-State: ALoCoQn3nbBxpdzEeTDzOJMGtuKM3OoBvuw3ctGX7sW6+FOJPtlv7YbJDnDbY8zHfBbVD3kreiq5 X-Received: by 10.60.59.34 with SMTP id w2mr3453904oeq.9.1431913483036; Sun, 17 May 2015 18:44:43 -0700 (PDT) From: Bart Schaefer Message-Id: <150517184440.ZM32461@torch.brasslantern.com> Date: Sun, 17 May 2015 18:44:40 -0700 In-Reply-To: <5558FF85.1060400@thequod.de> Comments: In reply to Daniel Hahler "Re: "whence -v" and function file names" (May 17, 10:52pm) References: <150425125149.ZM1489@torch.brasslantern.com> <5558FF85.1060400@thequod.de> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: "whence -v" and function file names MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 17, 10:52pm, Daniel Hahler wrote: } Subject: Re: "whence -v" and function file names } } % whence -v _git } _git is an autoload shell function } % git } % whence -v _git } _git is a shell function } } It would be nice if it could provide the path, at least with the second call. Yes, that would be nice, but the code that loads the function definition does not record the path and I didn't see any simple way to cause it to do so. I wasn't in this to rewrite autoloading, so you get what's there at the time "whence" is invoked.