{"action":"created","issue":{"url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/84","labels_url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/84/comments","events_url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/84/events","html_url":"https://github.com/rogual/neovim-dot-app/issues/84","id":73178019,"number":84,"title":"$PATH variable not initialized properly when using ZSH","user":{"login":"LevitatingOrange","id":4560504,"avatar_url":"https://avatars.githubusercontent.com/u/4560504?v=3","gravatar_id":"","url":"https://api.github.com/users/LevitatingOrange","html_url":"https://github.com/LevitatingOrange","followers_url":"https://api.github.com/users/LevitatingOrange/followers","following_url":"https://api.github.com/users/LevitatingOrange/following{/other_user}","gists_url":"https://api.github.com/users/LevitatingOrange/gists{/gist_id}","starred_url":"https://api.github.com/users/LevitatingOrange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LevitatingOrange/subscriptions","organizations_url":"https://api.github.com/users/LevitatingOrange/orgs","repos_url":"https://api.github.com/users/LevitatingOrange/repos","events_url":"https://api.github.com/users/LevitatingOrange/events{/privacy}","received_events_url":"https://api.github.com/users/LevitatingOrange/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rogual/neovim-dot-app/labels/compatibility","name":"compatibility","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-05T02:02:55Z","updated_at":"2015-10-26T00:21:05Z","closed_at":null,"body":"Hello,\r\n\r\nI have some problems with the `$PATH` variable. When using the app it apparently does not initialize the `$PATH` environment variable; printing it with `:echo $PATH` gives `/usr/bin:/bin:/usr/sbin:/sbin`. This is the system-wide  `$PATH` and not the user-specific one. Starting NeoVim in the command line and printing the path gives the correct result, so it must be a problem with neovim.app \r\n\r\n*NeoVim.app after invoking `:echo $PATH`*\r\n![path](https://cloud.githubusercontent.com/assets/4560504/7465958/eeab2f96-f2da-11e4-9bc9-9871207f70f5.png)\r\n\r\nCommit 71066885762d9d84a3b9dce3220256168fdb19a1 should've fixed this but it has apparently not. I tried using the commands used in said commit to get the environment variables. Both invoking zsh, which is my `$SHELL` shell and the default one `/bin/bash` gives the correct environment variables, thus also the `$PATH`. \r\n\r\nBecause of this problem, most of NeoMake's build-in markers won't work, because they expect the path to the command line programs (e.g. `rustc`) to be in `$PATH`. This is very hard to change, because one must alter all the markers for all desired filetypes or provide the `$PATH` through other means. \r\n\r\nThis is my first created issue ever, so please criticize me for any things I did wrong / could do better the next time.\r\n\r\nWith kind regards,\r\nlevo\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/comments/150991220","html_url":"https://github.com/rogual/neovim-dot-app/issues/84#issuecomment-150991220","issue_url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/84","id":150991220,"user":{"login":"brendanjerwin","id":3039,"avatar_url":"https://avatars.githubusercontent.com/u/3039?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanjerwin","html_url":"https://github.com/brendanjerwin","followers_url":"https://api.github.com/users/brendanjerwin/followers","following_url":"https://api.github.com/users/brendanjerwin/following{/other_user}","gists_url":"https://api.github.com/users/brendanjerwin/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanjerwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanjerwin/subscriptions","organizations_url":"https://api.github.com/users/brendanjerwin/orgs","repos_url":"https://api.github.com/users/brendanjerwin/repos","events_url":"https://api.github.com/users/brendanjerwin/events{/privacy}","received_events_url":"https://api.github.com/users/brendanjerwin/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T00:21:05Z","updated_at":"2015-10-26T00:21:05Z","body":"So, if I understand what is going on, a shell is created and the ENV is slurped out of it and set in the current process with `setenv`, then, later (https://github.com/rogual/neovim-dot-app/blob/95fb342cfdafcc024a23b749e0840543bc8b3c2f/src/vim.cc#L28) an instance of `nvim` is started. I imagine the expectation is that the env from the current process should cascade into `nvim`? \r\n\r\nWhere is `process` (from that line I linked) defined? I'd like to see if maybe that is where this is breaking down."}}