{"action":"created","issue":{"url":"https://api.github.com/repos/purcell/exec-path-from-shell/issues/34","labels_url":"https://api.github.com/repos/purcell/exec-path-from-shell/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/purcell/exec-path-from-shell/issues/34/comments","events_url":"https://api.github.com/repos/purcell/exec-path-from-shell/issues/34/events","html_url":"https://github.com/purcell/exec-path-from-shell/issues/34","id":118169319,"number":34,"title":"OS X warning from default bashrc ","user":{"login":"jacobmoe","id":2053928,"avatar_url":"https://avatars.githubusercontent.com/u/2053928?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobmoe","html_url":"https://github.com/jacobmoe","followers_url":"https://api.github.com/users/jacobmoe/followers","following_url":"https://api.github.com/users/jacobmoe/following{/other_user}","gists_url":"https://api.github.com/users/jacobmoe/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobmoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobmoe/subscriptions","organizations_url":"https://api.github.com/users/jacobmoe/orgs","repos_url":"https://api.github.com/users/jacobmoe/repos","events_url":"https://api.github.com/users/jacobmoe/events{/privacy}","received_events_url":"https://api.github.com/users/jacobmoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-21T04:25:49Z","updated_at":"2015-11-22T14:21:11Z","closed_at":null,"body":"The following warning appears when starting emacs on OS X:\r\n\r\n```\r\nWarning (emacs): You appear to be setting environment variables in your .bashrc or .zshrc: those files are only read by interactive shells, so you should instead set environment variables in startup files like .bash_profile or .zshenv.  See the man page for your shell for more info.  In future, exec-path-from-shell will not read variables set in the wrong files.\r\n```\r\n\r\nI'm using the standard OS X `.bash_profile` for shell config. This warning results from the default system-wide bashrc found in `/private/etc/bashrc`. Tested by renaming that file, and no longer saw the warning. Since `/private/etc/bashrc` is a read-only system default, this warning should probably be suppressed on OS X. "},"comment":{"url":"https://api.github.com/repos/purcell/exec-path-from-shell/issues/comments/158762734","html_url":"https://github.com/purcell/exec-path-from-shell/issues/34#issuecomment-158762734","issue_url":"https://api.github.com/repos/purcell/exec-path-from-shell/issues/34","id":158762734,"user":{"login":"halbtuerke","id":160,"avatar_url":"https://avatars.githubusercontent.com/u/160?v=3","gravatar_id":"","url":"https://api.github.com/users/halbtuerke","html_url":"https://github.com/halbtuerke","followers_url":"https://api.github.com/users/halbtuerke/followers","following_url":"https://api.github.com/users/halbtuerke/following{/other_user}","gists_url":"https://api.github.com/users/halbtuerke/gists{/gist_id}","starred_url":"https://api.github.com/users/halbtuerke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halbtuerke/subscriptions","organizations_url":"https://api.github.com/users/halbtuerke/orgs","repos_url":"https://api.github.com/users/halbtuerke/repos","events_url":"https://api.github.com/users/halbtuerke/events{/privacy}","received_events_url":"https://api.github.com/users/halbtuerke/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T14:21:11Z","updated_at":"2015-11-22T14:21:11Z","body":"I get this error with the default configuration of oh-my-zsh but unfortunately I have no clue how to debug this problem. Do you have any hint for what I should be looking for?"}}