[
https://issues.apache.org/activemq/browse/SMX4KNL-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang updated SMX4KNL-237:
---------------------------------
Attachment: SMX4KNL-237.patch
with this patch, we can access history command list with
! indext
! commandPrefix
for example, history we get
345 osgi/list
then
"! 345" or "! os" we get "osgi/list" execute again
seems we have to add a whitespace between ! and the index number or
commandPrefix, so the syntax is not exactly same as bash (which no whitespace
between ! and index number)
> Improve history support by using the !
> --------------------------------------
>
> Key: SMX4KNL-237
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-237
> Project: ServiceMix Kernel
> Issue Type: Improvement
> Reporter: Guillaume Nodet
> Assignee: Freeman Fang
> Fix For: 1.2.0
>
> Attachments: SMX4KNL-237.patch
>
>
> the history command is cool but it would be nice to be able to use things
> like:
> * {{!142}} (run the command from the history with index 142)
> * {{!os}} (run last command starting with "os")
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.