[
https://issues.apache.org/jira/browse/KARAF-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809207#comment-13809207
]
Jonathan Anstey commented on KARAF-2503:
----------------------------------------
Added karaf.shell.history.maxSize option for this in:
http://svn.apache.org/viewvc?view=revision&revision=r1537126
> Allow to limit the number of entries the history command remembers
> ------------------------------------------------------------------
>
> Key: KARAF-2503
> URL: https://issues.apache.org/jira/browse/KARAF-2503
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-shell
> Affects Versions: 2.3.3
> Reporter: Claus Ibsen
>
> The Karaf shell command remembers X number of entires back (jline history).
> It would be great if you could configure this in a configuration file in the
> etc, to have a upper limit how many entries is remembered.
> This applies when you use cursor up/down to scroll the history. As well when
> you type history in the shell to output the history stack.
> And it should be possible to disable the history, for example if you set the
> limit to 0 or -1 etc.
--
This message was sent by Atlassian JIRA
(v6.1#6144)