Zsh Mailing List Archive
Messages sorted by:
Reverse Date
,
Date
,
Thread
,
Author
Load autoloadable function, but only in enclosing function scope
X-seq
: zsh-users 27609
From
: Zach Riggle <zachriggle@xxxxxxxxx>
To
: Zsh Users <zsh-users@xxxxxxx>
Subject
: Load autoloadable function, but only in enclosing function scope
Date
: Thu, 24 Mar 2022 11:12:35 -0500
Archived-at
: <https://zsh.org/users/27609>
List-id
: <zsh-users.zsh.org>
Is there a way to
myfunc() {
autoload foo && foo
}
Such that foo and any other functions it declares are local-scope only?
Zach Riggle
Follow-Ups
:
Re: Load autoloadable function, but only in enclosing function scope
From:
Mikael Magnusson
Messages sorted by:
Reverse Date
,
Date
,
Thread
,
Author