How to customize OSGi prompt in apache felix gogo shell

171 Views Asked by At

I have an OSGi system running with Apache Felix Gogo shell (version 1.1.2).

I see the prompt g! and everything works fine. I can change the prompt in the console by e.g. prompt="myPrompt>".

How can I have this at start up, configured in my config file (config.ini)?

1

There are 1 best solutions below

1
On BEST ANSWER

You could simply put a startup script in your working directory ./etc/gosh_profile. In that script you can define the prompt name like prompt="myPrompt>".