Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
local functions
- X-seq: zsh-users 28591
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: local functions
- Date: Mon, 19 Dec 2022 10:19:55 -0800
- Archived-at: <https://zsh.org/users/28591>
- List-id: <zsh-users.zsh.org>
I see nothing to indicate it is possible, but can we make a helper
function 'local'? Just to keep them out of the name-space. Putting
'local' in front of a function definition seems not to be an error, but
it seems to make no difference. I read that autoload could be used for
something like this, but that requires separate files for each helper,
if I understand. Not worth the trouble of 'unfunction'ing them. Very
minor issue.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author