The problem is to obtain the list of scripts that needs to be loaded
If we somehow include (using the source command for example), it means we
need to copy the script file *and* modify another script, which may be a
bit more complicated than necessary.

2016-10-12 18:38 GMT+02:00 Jean-Baptiste Onofré <>:

> Hi Guillaume,
> what about a etc/gosh_profilerc that can load other scripts ?
> Regards
> JB
> On 10/12/2016 05:57 PM, Guillaume Nodet wrote:
>> I'm working on trying to nicely integrate gogo commands.
>> The new gogo-jline bundle has a very nice way to allow external
>> configuration for command completion. For example, one need to execute the
>> script at
>> to add full completion to the Karaf shell once you have the scr bundle
>> installed (it always provides gogo commands).  Other examples are
>> available
>> at
>> main/resources/gosh_profile
>> The question is : how to provide such a script.
>> One possibility would be to have a dedicated folder such as etc/scripts/
>> where all scripts would be loaded when a session is started. We could then
>> reference those files in features so that they are copied when features
>> are
>> installed.
>> This would allow leveraging the <configfile> feature xml element.
>> Do you guys have better ideas ?
> --
> Jean-Baptiste Onofré
> Talend -

Guillaume Nodet
Red Hat, Open Source Integration


Reply via email to