When I'm testing a plugin, I regularly get caught out by the fact that
plugins aren't automatically loaded into subshells, so that
echo xxx | plugin_cmd
fails (as the plugin isn't loaded on the RHS of the pipe.
As it's a test situation, I don't want to put the plugin into my
autostart. Of course I can do
echo xxx | (plugin /L MyPlugin & plugin_cmd)
but is there a simpler way? Something that says "load this plugin now,
and autoload it for any shells spawned from this one"?
Thanks,
Paul.
plugins aren't automatically loaded into subshells, so that
echo xxx | plugin_cmd
fails (as the plugin isn't loaded on the RHS of the pipe.
As it's a test situation, I don't want to put the plugin into my
autostart. Of course I can do
echo xxx | (plugin /L MyPlugin & plugin_cmd)
but is there a simpler way? Something that says "load this plugin now,
and autoload it for any shells spawned from this one"?
Thanks,
Paul.