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

Re: Proof of concept mainstream plugin manager



On Jun 4,  1:36pm, Sebastian Gniazdowski wrote:
}
} plugin did local IFS=$'\n'. So this line in --zplg-reload-and-run:
} 
}      builtin autoload $=autoload_opts "$func"
} 
} wasn't splitting $autoload_opts on space :)

Urk.  So you need to locally reset IFS to something sane, or else use
${(s: :)autoload_opts}.

There appear to be about 30 places in the standard zsh function suite
where a local change to $IFS could similarly break things.

I'm willing to bet that the plugin has scoped that $IFS change a bit
more widely than where it is really needed.



Messages sorted by: Reverse Date, Date, Thread, Author