Subject: Re: Proof of concept mainstream plugin manager
From: Bart Schaefer <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Tue, 26 Jan 2016 20:34:58 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Jan 26, 10:50pm, Daniel Shahaf wrote:
} Subject: Re: Proof of concept mainstream plugin manager
}
} Bart Schaefer wrote on Sat, Jan 23, 2016 at 12:00:55 -0800:
} >         eval "function $func { 
} >           _reload_and_run ${(q)PLUGIN_DIR} ${(qq)opts} $func "'"$@"
} >         }'
} 
} Perhaps change $func to ${(q)func}.

Sebastian has already changed that whole thing to be

functions[$func]="_reload_and_run ${(q)PLUGIN_DIR} $opts $func "'"$@"

which yes, is going to do strange things if $func contains spaces.

On the other hand, the whole plugin would already be broken if $func
contains spaces.  I'd rather not "fix" it in an unpredictable way.