The default PROMPT is defined as:

    public static final String DEFAULT_PROMPT =
"\u001b[1m${user}\u001b...@${application}> ";

To change this, you can set the PROMPT variable in
etc/shell.init.script to something that suit your needs better.
Either as a plain variable:
   PROMPT="\u001b[1m${user}\u001b...@${application}> ";
Or as a closure
    '#PROMPT' = { echo "\u001b[1m${user}\u001b...@${application}ww> " }

The branding does not currently enable changing the default prompt,
but maybe it could be enhanced.

On Fri, Nov 5, 2010 at 19:29, Kit Plummer <kitplum...@gmail.com> wrote:
>
> Is it possible to change the "karaf" part of the console prompt in
> configuration?
>
> Kit
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/Change-karaf-root-prompt-tp1849999p1849999.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to