On Sat, Oct 1, 2016 at 4:48 PM, Dan Douglas <orm...@gmail.com> wrote: > One note - it may be useful to install `BASH_LOADABLES_PATH=/usr/lib/bash` > to the global env.d environment when USE=plugins, now that bash has > this feature. It doesn't enable anything by default but just informs bash that > it can look for loadables in that location. > > (ins)ormaaj@smorgbox ~ $ BASH_LOADABLES_PATH=/usr/lib/bash bash > (ins)ormaaj@smorgbox ~ $ enable -f hello hello > hello builtin loaded > (ins)ormaaj@smorgbox ~ $ hello > hello world
Hm on looking again it seems to look there anyway? I guess dlopen finds them via -rpath. Didn't know that was sufficient in this case. Sorry about that.