Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

whence and the location of a function definition



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