karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-2496) Add a property to define the behaviour of the subshell completion
Date Thu, 03 Oct 2013 07:41:42 GMT
Jean-Baptiste Onofré created KARAF-2496:
-------------------------------------------

             Summary: Add a property to define the behaviour of the subshell completion
                 Key: KARAF-2496
                 URL: https://issues.apache.org/jira/browse/KARAF-2496
             Project: Karaf
          Issue Type: Improvement
          Components: karaf-shell
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 3.0.0


We can see two behaviours for the completion using subshell:
1. the "new" behaviour: the completer only shows the direct subshell to the current shell,
and commands to the current shell (not all commands from all shells/scopes)
2. the "old" behaviour: the completer displays commands from all shells/scopes, and all subshells.

The users can be disturbed by the new behaviour. In order to give the choice, I will add the
subshellCompletionOnly property in etc/org.apache.karaf.shell.cfg file.

If subshellCompletionOnly=true, the completer will display only the subshell, not all commands
("new" behaviour).
If subshellCompletionOnly=false, the completer will display all subshells, all commands, all
aliases ("old" behavior).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message