{"action":"opened","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2054","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2054/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2054/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2054/events","html_url":"https://github.com/fish-shell/fish-shell/issues/2054","id":73937582,"number":2054,"title":"Using fish functions under sudo","user":{"login":"amosbird","id":5085485,"avatar_url":"https://avatars.githubusercontent.com/u/5085485?v=3","gravatar_id":"","url":"https://api.github.com/users/amosbird","html_url":"https://github.com/amosbird","followers_url":"https://api.github.com/users/amosbird/followers","following_url":"https://api.github.com/users/amosbird/following{/other_user}","gists_url":"https://api.github.com/users/amosbird/gists{/gist_id}","starred_url":"https://api.github.com/users/amosbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amosbird/subscriptions","organizations_url":"https://api.github.com/users/amosbird/orgs","repos_url":"https://api.github.com/users/amosbird/repos","events_url":"https://api.github.com/users/amosbird/events{/privacy}","received_events_url":"https://api.github.com/users/amosbird/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-07T10:42:02Z","updated_at":"2015-05-07T10:42:02Z","closed_at":null,"body":"Is it possible to use fish functions under sudo while root shell is bash? How can I change sudo shell without modifying root account?"}}