[ 
https://issues.apache.org/jira/browse/KARAF-5404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192543#comment-16192543
 ] 

Guillaume Nodet commented on KARAF-5404:
----------------------------------------

That's the default behavior from Karaf >= 4.1, where tab does not complete at 
the beginning of a line (same behavior as the zsh shell).
You can change it by adding the following in your startup script:
{code}
unsetopt insert-tab
{code}

> CLI autocompletion issue
> ------------------------
>
>                 Key: KARAF-5404
>                 URL: https://issues.apache.org/jira/browse/KARAF-5404
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.1.2
>            Reporter: Paolo Antinori
>            Priority: Minor
>
> In a freshly extracted Karaf 4.1.2, running on JDK9, hitting TAB just moves 
> the blinking cursor.
> No autocompletion is triggered.
> If I start typing any command instead, like pressing a single {{j}} and then 
> hit TAB, I get the correct suggestion.
> I suspect this is either a bug or the help message at boot should be changed 
> from:
> {code}
>   Apache Karaf (4.1.2)
> Hit '<tab>' for a list of available commands
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to