[forge-issues] [JBoss JIRA] (FORGE-1622) It would be good if Aesh had access to export variables

Antonio Goncalves (JIRA) issues at jboss.org
Sun Mar 2 12:12:47 EST 2014


Antonio Goncalves created FORGE-1622:
----------------------------------------

             Summary: It would be good if Aesh had access to export variables
                 Key: FORGE-1622
                 URL: https://issues.jboss.org/browse/FORGE-1622
             Project: Forge
          Issue Type: Feature Request
          Components: UI - Shell
    Affects Versions: 2.1.1.Final
            Reporter: Antonio Goncalves
            Priority: Minor
             Fix For: 2.x Future


This would be a "nice to have" feature from the shell command line. 

I'm under OS X and I have a set of variables that I've exported. As an example, all my code is under {{$CODE_HOME}}. It would be good if I code {{cd $CODE_HOME}} when I'm in Aesh : 


{code}
~$ cd $CODE_HOME          // Under OS X
~/Documents/Code$ forge   // Entering Forge

    _____
   |  ___|__  _ __ __ _  ___
   | |_ / _ \| `__/ _` |/ _ \  \\
   |  _| (_) | | | (_| |  __/  //
   |_|  \___/|_|  \__, |\___|
                   |___/

JBoss Forge, version [ 2.1.1.Final ] - JBoss, by Red Hat, Inc.

[Code]$ cd ~
[antoniombp]$ cd $CODE_HOME    //  Good if it goes to the right directory
[antoniombp]$ echo $CODE_HOME  // Doesn't have access to the exported variable

[antoniombp]$
{code}


--
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


More information about the forge-issues mailing list