Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added functionality to make atom-racer find racer_bin on the path #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

junewunder
Copy link

  • cleaned up some code
  • added a for-loop for loop through the process.env.PATH and find the
    racer binary

 - cleaned up some code
 - added a for-loop for loop through the process.env.PATH and find the
racer binary
@junewunder
Copy link
Author

I added a function find_racer_path which loops through the process.env.PATH to find something with the last element as "racer"

@edubkendo
Copy link
Owner

Nice work! which OS'es has this been tested on?

@junewunder
Copy link
Author

I only have OSX. Now that I think of it, there might be issues on Windows because it separates the path with "/" and not "". But that just mean it shouldn't work on windows. Not break it entirely.

@junewunder
Copy link
Author

I could use regex instead...

@edubkendo
Copy link
Owner

Would love for someone to test this out on Windows and get this rebased and merged in.

@junewunder
Copy link
Author

oh! I had forgotten about this pull request, I'll try to get this working

@Xaeroxe
Copy link

Xaeroxe commented Aug 16, 2017

This functionality has been added to https://github.com/Xaeroxe/atom-racer and published as racer-plus

@junewunder
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants