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

.zshrc doesn't get loaded #60

Open
jnevelson opened this issue Jun 24, 2015 · 6 comments
Open

.zshrc doesn't get loaded #60

jnevelson opened this issue Jun 24, 2015 · 6 comments

Comments

@jnevelson
Copy link

Atom version 0.211.0, ruby-test version 0.9.11.

Running oh-my-zsh, and notice that my ~/.zshrc isn't loaded automatically, which causes the PATH to not be set, so gems like rspec and bundler aren't available.

The only way I could get it working was to explicitly source my ~/.zshrc (see screenshot below), which obviously is not ideal. Not sure if something is misconfigured on my end, or if this is a legitimate bug.

@libo
Copy link

libo commented Jun 29, 2015

same issue

@libo
Copy link

libo commented Jun 29, 2015

I found a solution actually. Add a ~/.zprofile file. In that just write

source ~/.zshrc

That with setting Shell to zsh in the configuration should solve this issue.

@abookyun
Copy link

abookyun commented Jul 6, 2015

same here and @jnevelson source ~/.zshrc worked for me.

@moxley
Copy link
Owner

moxley commented Aug 30, 2015

On working on #67, I noticed that the two dash arguments passed to the shell program were in the wrong order: zsh -c -l {command}. It is now corrected to zsh -l -c {command}. Bash didn't care either way. I wonder if zsh did. Try ruby-test 0.9.13, without your workaround. Does it work now?

@fladson
Copy link

fladson commented Dec 1, 2015

Running 0.9.16, same loading error on minitest.
@libo ~/.zprofile worked for me.

@dougireton
Copy link

~/.zshrc is only loaded for interactive shells. Have you tried setting the path in ~/.zshenv, which is loaded for all shell invocations?

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

No branches or pull requests

6 participants