Reputation: 2113
Is it possible for me to query the definition location of a function in zsh? Does zsh store such metadata about functions?
Upvotes: 1
Views: 421
Reputation: 22237
Well, zsh stores the functions internally, but I guess you want to know where zsh read the function from. This can be shown by:
whence -v FUNCTIONNAME
Upvotes: 6