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

Christophe Vanfleteren edited comment on KARAF-2370 at 7/1/13 8:07 PM:
-----------------------------------------------------------------------

I attached a patch for adding a persistence option to AliasAction.

You can't seem to acutally run commands in the shell.script.init file, so I 
just save the aliased part in there.
For now, aliases only get appended to the end of the file, it's not possible to 
remove them.
                
      was (Author: c.vanfleteren):
    Patch for adding a persitence option to AliasAction
                  
> Add alias command
> -----------------
>
>                 Key: KARAF-2370
>                 URL: https://issues.apache.org/jira/browse/KARAF-2370
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-shell
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.3.2, 2.4.0, 3.0.0
>
>         Attachments: alias-persistence.patch
>
>
> Currently, it's possible to create shell aliases by editing 
> etc/shell.init.script. However, we don't provide a command to create aliases 
> "on the fly", like alias on Unix.
> The alias command should enhance the shell console with new aliases and 
> update the etc/shell.init.script file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to