{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nix/issues/545","labels_url":"https://api.github.com/repos/NixOS/nix/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nix/issues/545/comments","events_url":"https://api.github.com/repos/NixOS/nix/issues/545/events","html_url":"https://github.com/NixOS/nix/pull/545","id":80426204,"number":545,"title":"Support non-bash shells in nix-shell.","user":{"login":"gebner","id":313929,"avatar_url":"https://avatars.githubusercontent.com/u/313929?v=3","gravatar_id":"","url":"https://api.github.com/users/gebner","html_url":"https://github.com/gebner","followers_url":"https://api.github.com/users/gebner/followers","following_url":"https://api.github.com/users/gebner/following{/other_user}","gists_url":"https://api.github.com/users/gebner/gists{/gist_id}","starred_url":"https://api.github.com/users/gebner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebner/subscriptions","organizations_url":"https://api.github.com/users/gebner/orgs","repos_url":"https://api.github.com/users/gebner/repos","events_url":"https://api.github.com/users/gebner/events{/privacy}","received_events_url":"https://api.github.com/users/gebner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-25T07:12:26Z","updated_at":"2015-12-10T22:39:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NixOS/nix/pulls/545","html_url":"https://github.com/NixOS/nix/pull/545","diff_url":"https://github.com/NixOS/nix/pull/545.diff","patch_url":"https://github.com/NixOS/nix/pull/545.patch"},"body":"This adds support for non-bash shells in the interactive mode of nix-shell.  I have tested it with zsh and fish.  Usage with bash works exactly the same as before.\r\n\r\nSince the stdenv/setup script requires bash, the user shell is executed as a command from bash, after PATH, etc. have been configured.\r\n\r\nI have also set the correct environment variable for --pure support in zsh."},"comment":{"url":"https://api.github.com/repos/NixOS/nix/issues/comments/163774665","html_url":"https://github.com/NixOS/nix/pull/545#issuecomment-163774665","issue_url":"https://api.github.com/repos/NixOS/nix/issues/545","id":163774665,"user":{"login":"Pitometsu","id":2434691,"avatar_url":"https://avatars.githubusercontent.com/u/2434691?v=3","gravatar_id":"","url":"https://api.github.com/users/Pitometsu","html_url":"https://github.com/Pitometsu","followers_url":"https://api.github.com/users/Pitometsu/followers","following_url":"https://api.github.com/users/Pitometsu/following{/other_user}","gists_url":"https://api.github.com/users/Pitometsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Pitometsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pitometsu/subscriptions","organizations_url":"https://api.github.com/users/Pitometsu/orgs","repos_url":"https://api.github.com/users/Pitometsu/repos","events_url":"https://api.github.com/users/Pitometsu/events{/privacy}","received_events_url":"https://api.github.com/users/Pitometsu/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T22:39:40Z","updated_at":"2015-12-10T22:39:40Z","body":"Shurely, I can use `shellHook`, run **zsh** here & use custom *rc* files, but this solution isn't so flexable..."}}