Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1622

It would be good if Aesh had access to export variables

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • 2.7.0.Final
    • 2.1.1.Final
    • UI - Shell
    • None

    Description

      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 :

      ~$ 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]$
      

      Attachments

        Issue Links

          Activity

            People

              danielcunha Daniel Cunha (soro) (Inactive)
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: