Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
whence and the location of a function definition
- X-seq: zsh-workers 34852
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: whence and the location of a function definition
- Date: Mon, 6 Apr 2015 09:43:25 -0700
- In-reply-to: <CAHYJk3TWJVsWCTO0xJ-iw2ThBAdbrvs2Pfc6-t6aqj1yBQ-djA@mail.gmail.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>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author