[jboss-jira] [JBoss JIRA] (WFCORE-791) CLI history can store every command only once
Joe Wertz (JIRA)
issues at jboss.org
Fri Aug 7 06:07:02 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096495#comment-13096495 ]
Joe Wertz commented on WFCORE-791:
----------------------------------
This behavior is different than nix shells. My bash shell won't put two identical commands in a row into the history file, but AESH actually removes the duplicate command from anywhere in the history list. If you duplicate a command 2 or 20 or 200 lines later, the first one is removed when the new one is inserted.
That seems like odd history behavior to me. It's not really a 'history' at all. Just a list of the 500 previous unique commands.
> CLI history can store every command only once
> ---------------------------------------------
>
> Key: WFCORE-791
> URL: https://issues.jboss.org/browse/WFCORE-791
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.0.0.Alpha5
> Reporter: Petr Kremensky
> Assignee: Alexey Loubyansky
>
> Commands logged in .jboss-cli-history file are overwritten every time. If we called command sometimes in the past, it is removed from history and appended to the end of the history file.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list