zsh-users
 help / color / mirror / code / Atom feed
* "rehash" but for autoloaded functions
@ 2022-09-15 17:24 Zach Riggle
  2022-09-15 19:07 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Zach Riggle @ 2022-09-15 17:24 UTC (permalink / raw)
  To: Zsh Users

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

Is there an equivalent to "rehash" for autoloaded functions?

It's fine if they revert to being not-autoloaded-yet, just looking for a
simple solution other than "exec zsh -il" to get this effect.

I expect I can write something to this effect with "$functions_source[pip]"
and compare the ${filename:t} to the function name, but I expect there's
something for this already.

If not, where can I find instructions on how to contribute something like
this upstream, e.g. rehash_functions?

*Zach Riggle*

[-- Attachment #2: Type: text/html, Size: 822 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-15 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 17:24 "rehash" but for autoloaded functions Zach Riggle
2022-09-15 19:07 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).