{"action":"created","issue":{"url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/54","labels_url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/54/comments","events_url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/54/events","html_url":"https://github.com/rogual/neovim-dot-app/issues/54","id":67441930,"number":54,"title":"Setting locale, environment variables","user":{"login":"ianclarksmith","id":1631923,"avatar_url":"https://avatars.githubusercontent.com/u/1631923?v=3","gravatar_id":"","url":"https://api.github.com/users/ianclarksmith","html_url":"https://github.com/ianclarksmith","followers_url":"https://api.github.com/users/ianclarksmith/followers","following_url":"https://api.github.com/users/ianclarksmith/following{/other_user}","gists_url":"https://api.github.com/users/ianclarksmith/gists{/gist_id}","starred_url":"https://api.github.com/users/ianclarksmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianclarksmith/subscriptions","organizations_url":"https://api.github.com/users/ianclarksmith/orgs","repos_url":"https://api.github.com/users/ianclarksmith/repos","events_url":"https://api.github.com/users/ianclarksmith/events{/privacy}","received_events_url":"https://api.github.com/users/ianclarksmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-09T20:14:24Z","updated_at":"2015-04-11T22:06:53Z","closed_at":null,"body":"The issue I am experiencing is described here https://github.com/fish-shell/fish-shell/issues/277. This can be worked around by setting LC_ALL in one's fish config however it is \"better\" if the variables can be set with the terminal emulator. Example:\r\n\r\n**`nvim` in iTerm**\r\n```\r\nfish> nvim\r\nnvim> :terminal\r\nnvim-terminal> locale\r\nLANG=\"en_US.UTF-8\"\r\nLC_COLLATE=\"en_US.UTF-8\"\r\nLC_CTYPE=\"en_US.UTF-8\"\r\nLC_MESSAGES=\"en_US.UTF-8\"\r\nLC_MONETARY=\"en_US.UTF-8\"\r\nLC_NUMERIC=\"en_US.UTF-8\"\r\nLC_TIME=\"en_US.UTF-8\"\r\nLC_ALL=\r\n```\r\n\r\n**Neovim.app launched with `open`**\r\n```\r\nfish> open -a Neovim\r\nNeovim.app> :terminal\r\nNeovim.app-terminal> locale\r\nLANG=\"en_US.UTF-8\"\r\nLC_COLLATE=\"en_US.UTF-8\"\r\nLC_CTYPE=\"en_US.UTF-8\"\r\nLC_MESSAGES=\"en_US.UTF-8\"\r\nLC_MONETARY=\"en_US.UTF-8\"\r\nLC_NUMERIC=\"en_US.UTF-8\"\r\nLC_TIME=\"en_US.UTF-8\"\r\nLC_ALL=\r\n```\r\n\r\n**Neovim.app launched from desktop**\r\n```\r\nNeovim.app> :terminal\r\nNeovim.app-terminal> locale\r\nLANG=\r\nLC_COLLATE=\"C\"\r\nLC_CTYPE=\"C\"\r\nLC_MESSAGES=\"C\"\r\nLC_MONETARY=\"C\"\r\nLC_NUMERIC=\"C\"\r\nLC_TIME=\"C\"\r\nLC_ALL=\r\n```\r\n\r\nEmacs.app has a similar issue which led to the creation of the `exec-path-from-shell`. Without it, the `exec-path` in Emacs depends on the system-wide settings in a plist (depending on which OS X version).\r\n\r\nWould it be better to automatically adopt the configuration of the user's login environment at launch, set environment variables manually (as TextMate does), or leave it entirely up each program's own configs? The first might be closer to the expected behavior while the last requires no changes."},"comment":{"url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/comments/91934077","html_url":"https://github.com/rogual/neovim-dot-app/issues/54#issuecomment-91934077","issue_url":"https://api.github.com/repos/rogual/neovim-dot-app/issues/54","id":91934077,"user":{"login":"rogual","id":520855,"avatar_url":"https://avatars.githubusercontent.com/u/520855?v=3","gravatar_id":"","url":"https://api.github.com/users/rogual","html_url":"https://github.com/rogual","followers_url":"https://api.github.com/users/rogual/followers","following_url":"https://api.github.com/users/rogual/following{/other_user}","gists_url":"https://api.github.com/users/rogual/gists{/gist_id}","starred_url":"https://api.github.com/users/rogual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogual/subscriptions","organizations_url":"https://api.github.com/users/rogual/orgs","repos_url":"https://api.github.com/users/rogual/repos","events_url":"https://api.github.com/users/rogual/events{/privacy}","received_events_url":"https://api.github.com/users/rogual/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T22:06:53Z","updated_at":"2015-04-11T22:06:53Z","body":"Interesting stuff, thanks for the link. I've done a bit more work on that branch — @ianclarksmith, would you be able to try it out and see if it solves your issue? "}}