{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3288","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3288/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3288/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3288/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3288","id":169327441,"number":3288,"title":"No easy way to start fish shell without user config","user":{"login":"mohd-akram","id":1823771,"avatar_url":"https://avatars.githubusercontent.com/u/1823771?v=3","gravatar_id":"","url":"https://api.github.com/users/mohd-akram","html_url":"https://github.com/mohd-akram","followers_url":"https://api.github.com/users/mohd-akram/followers","following_url":"https://api.github.com/users/mohd-akram/following{/other_user}","gists_url":"https://api.github.com/users/mohd-akram/gists{/gist_id}","starred_url":"https://api.github.com/users/mohd-akram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohd-akram/subscriptions","organizations_url":"https://api.github.com/users/mohd-akram/orgs","repos_url":"https://api.github.com/users/mohd-akram/repos","events_url":"https://api.github.com/users/mohd-akram/events{/privacy}","received_events_url":"https://api.github.com/users/mohd-akram/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4","html_url":"https://github.com/fish-shell/fish-shell/milestones/fish-future","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4/labels","id":130257,"number":4,"title":"fish-future","description":"These are issues that are not targeted for an upcoming minor or major release. After a release, we will re-examine these issues and pull any in that we think are good targets; that is retarget them to the next minor (or major) release.\r\n\r\nIf you can provide a fix for an issue in this milestone, we'll generally accept it for the next release even if the issue is not targeted for the release.","creator":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"open_issues":382,"closed_issues":0,"state":"open","created_at":"2012-06-11T02:25:13Z","updated_at":"2016-08-04T23:05:48Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-08-04T09:12:26Z","updated_at":"2016-08-04T23:38:15Z","closed_at":null,"body":"<!-- check if this problem is already solved! github.com/issues?q=is:issue+user:fish-shell -->\r\n- [x] Have you checked if problem occurs with [fish 2.3.1](/fish-shell/fish-shell/releases/tag/2.3.1)?\r\n- [x] Tried fish without third-party customizations *(check `sh -c 'env HOME=$(mktemp -d) fish'`)*?\r\n\r\n**fish version installed** *(`fish --version`)*: 2.3.1\r\n\r\n**OS/terminal used**: OS X 10.11.6\r\n\r\nBash has `--noprofile` and `--norc` to start it without any user config, but there doesn't seem to be an easy way to do this with fish shell."},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/237717701","html_url":"https://github.com/fish-shell/fish-shell/issues/3288#issuecomment-237717701","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3288","id":237717701,"user":{"login":"krader1961","id":7545917,"avatar_url":"https://avatars.githubusercontent.com/u/7545917?v=3","gravatar_id":"","url":"https://api.github.com/users/krader1961","html_url":"https://github.com/krader1961","followers_url":"https://api.github.com/users/krader1961/followers","following_url":"https://api.github.com/users/krader1961/following{/other_user}","gists_url":"https://api.github.com/users/krader1961/gists{/gist_id}","starred_url":"https://api.github.com/users/krader1961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krader1961/subscriptions","organizations_url":"https://api.github.com/users/krader1961/orgs","repos_url":"https://api.github.com/users/krader1961/repos","events_url":"https://api.github.com/users/krader1961/events{/privacy}","received_events_url":"https://api.github.com/users/krader1961/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T23:38:15Z","updated_at":"2016-08-04T23:38:15Z","body":"@mohd-akram, How exactly would a `--noprofile` option help in the scenario you cited? If a script is explicitly starting a sub-shell via something like `fish -c \"some_command\"` it would not be affected by the use of `--noprofile` in the parent shell and would still source your config. On the other hand, explicitly changing the relevant env vars as mentioned by others would affect the child shell and keep it from using your customized config.\r\n\r\nAltering env vars can, obviously, affect other programs launched by fish so it's not ideal. The only way I can see to avoid that and still affect subshells would be to define a new env var that fish looks at for startup options. Similar to how the less(1) command uses the `LESS` env var."}}
{"actor":{"display_login":"krader1961"}}