Giter Club home page Giter Club logo

Comments (11)

Lbatson avatar Lbatson commented on July 20, 2024

Think you're hitting the same problem as #61. Try opening atom from your terminal and not the icon.

from atom-script.

tmaiaroto avatar tmaiaroto commented on July 20, 2024

Wow, that's crazy. Yup. Totally the problem. Thanks! So that's something Atom core has to fix?

from atom-script.

smashwilson avatar smashwilson commented on July 20, 2024

Well, it's more a consequence of how environment variables work on a Mac. I'm not sure that there's much that Atom could do about it, even.

from atom-script.

tmaiaroto avatar tmaiaroto commented on July 20, 2024

I see. I was reading more into the other issue and it makes a little more sense though if I were to change my init on Atom, what would it need to be? How can I pick up my environment variables? ...So that I could run atom using launcher... Not that I don't have a million terminal windows open at any given time, but I'll get annoyed when I forget and launch from launcher and then have to reopen projects all over again because Atom doesn't save your state like Sublime.

from atom-script.

smashwilson avatar smashwilson commented on July 20, 2024

How can I pick up my environment variables?

You can use launchctl setenv to customize your PATH for Atom (or anything else you launch from the bar).

There is a clever trick on StackOverflow for keeping the two in sync, but I can't vouch for it personally (I just launch from terminal everywhere by habit).

from atom-script.

rgbkrk avatar rgbkrk commented on July 20, 2024

There is always setting process.env in your init script for Atom too:

from atom-script.

tmaiaroto avatar tmaiaroto commented on July 20, 2024

Can you pick up your user variables from here too? Or do I need to maintain a separate list?

from atom-script.

rgbkrk avatar rgbkrk commented on July 20, 2024

As in what you define in your .bashrc or .bash_profile?

from atom-script.

tmaiaroto avatar tmaiaroto commented on July 20, 2024

Yup

from atom-script.

chrisabrams avatar chrisabrams commented on July 20, 2024

This did not work for me; any updates on what to do?

from atom-script.

chrisabrams avatar chrisabrams commented on July 20, 2024

@intothev01d that worked; thx. Why is there a difference?

from atom-script.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.