Moritz
Moritz

Reputation: 1125

How to customize OSGi prompt in apache felix gogo shell

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)?

Upvotes: 2

Views: 186

Answers (1)

Markus Steppberger
Markus Steppberger

Reputation: 638

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>".

Upvotes: 3

Related Questions