Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: whence and the location of a function definition
- X-seq: zsh-workers 34866
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: whence and the location of a function definition
- Date: Fri, 10 Apr 2015 02:43:12 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=J3wFbIVHBr6lzuQYp1Hi3jgmJtWfQuEasT4GxCgkWsw=; b=kAu2VowE6I5JcbnH3TpX9s8s4pfiHyX+t3sAHaCZGDNBUm1N3yjFRcOy/iPIaRPd5J pIQiItLjxeqplNpnQUn7G3avdKLgBQjFwcl75ci42RO4Gq0e81vWMzy/JKr9Ya2ie3ls 5oyk/YV8OKJ8QpN/ny9q0Kcx/Yxrw7PScv9w7ZP9KrGMmj39MafaNK9KOzjnsgUUi5kl l2kpZKMeshpy4xjtkwjf9UQVcdkVtf8ASwtYQIll7VeGI6uNnG+GsAIGmiuYL5eAP1Kc P6NkgQY4nRAI91DRKw1dP/FSExPqDb/BZ0AU6duUlU/JVoE13yV1QY5zlNlqoBBtU/NX 1Y5Q==
- In-reply-to: <150406094325.ZM20639@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAGfENy_hFQro9greE7-DRXOw3UQG7Qkp6RPbnkpJFq39Den_5A@mail.gmail.com> <CAHYJk3TWJVsWCTO0xJ-iw2ThBAdbrvs2Pfc6-t6aqj1yBQ-djA@mail.gmail.com> <150406094325.ZM20639@torch.brasslantern.com>
On Mon, Apr 6, 2015 at 6:43 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Apr 6, 6:57am, Mikael Magnusson wrote:
> }
> } another way is to apply this patch:
> } http://git.mikachu.zsh.jp/commit/?h=mika&id=225140c2aa029c9f19615c5894c4813a88afca49
> } and then run whence -F thefunc
>
> This looks useful, especially if the "(unknown)" branch could report
> whether the function is autoloaded.
>
> Any opinions on whether it needs its own option, or if it could always be
> appended to the "-v" output, e.g.
>
> compdef is a shell function from /usr/share/zsh/functions/Completion/compinit
Those both sound like good ideas to me (I'm not the original author of
the patch). :)
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author