{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2865","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2865/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2865/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2865/events","html_url":"https://github.com/fish-shell/fish-shell/issues/2865","id":144097409,"number":2865,"title":"Autocompletion with tab is broken","user":{"login":"hangll","id":17710333,"avatar_url":"https://avatars.githubusercontent.com/u/17710333?v=3","gravatar_id":"","url":"https://api.github.com/users/hangll","html_url":"https://github.com/hangll","followers_url":"https://api.github.com/users/hangll/followers","following_url":"https://api.github.com/users/hangll/following{/other_user}","gists_url":"https://api.github.com/users/hangll/gists{/gist_id}","starred_url":"https://api.github.com/users/hangll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hangll/subscriptions","organizations_url":"https://api.github.com/users/hangll/orgs","repos_url":"https://api.github.com/users/hangll/repos","events_url":"https://api.github.com/users/hangll/events{/privacy}","received_events_url":"https://api.github.com/users/hangll/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/needs-more-info","name":"needs-more-info","color":"eb6420"},{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-03-28T22:17:32Z","updated_at":"2016-03-30T18:19:58Z","closed_at":null,"body":"If I press tab to show some suggestion, I'll get errors like\r\nfish: Unknown command 'G'                                                            \r\nin command substitution\r\n\tcalled on standard input\r\n\r\nFor instance, if I type \"git check\" and tab, I got:\r\nfish: Unknown command 'G'                                                      \r\n/usr/local/share/fish/completions/git.fish (line 1): G\r\n                                                     ^\r\nin command substitution\r\n\tcalled on line 541 of file /usr/local/share/fish/completions/git.fish\r\n\r\nin command substitution\r\n\tcalled on line 541 of file /usr/local/share/fish/completions/git.fish\r\n\r\nin function '__fish_git_custom_commands'\r\n\tcalled on standard input\r\n\r\nin command substitution\r\n\tcalled on standard input\r\n\r\n---\r\nFish version: [from the output of fish --version]\r\nfish, version 2.2.0\r\n\r\nOperating system: [your operating system and how you installed fish e.g. Homebrew, Ubuntu PPA, distribution package]\r\nMac 10.11.4\r\nTerminal or terminal emulator: [e.g. PuTTy, iTerm2, GNOME Terminal, VT220]\r\niTerm2"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/203563850","html_url":"https://github.com/fish-shell/fish-shell/issues/2865#issuecomment-203563850","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2865","id":203563850,"user":{"login":"faho","id":5185367,"avatar_url":"https://avatars.githubusercontent.com/u/5185367?v=3","gravatar_id":"","url":"https://api.github.com/users/faho","html_url":"https://github.com/faho","followers_url":"https://api.github.com/users/faho/followers","following_url":"https://api.github.com/users/faho/following{/other_user}","gists_url":"https://api.github.com/users/faho/gists{/gist_id}","starred_url":"https://api.github.com/users/faho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faho/subscriptions","organizations_url":"https://api.github.com/users/faho/orgs","repos_url":"https://api.github.com/users/faho/repos","events_url":"https://api.github.com/users/faho/events{/privacy}","received_events_url":"https://api.github.com/users/faho/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T18:19:58Z","updated_at":"2016-03-30T18:19:58Z","body":">Neither fish 2.2.0 nor the current git head sourc has a function named __fish_command_not_found_setup. Where is that coming from?\r\n\r\n@krader1961: I think 2.2.0 had that in share/config.fish (or possibly __fish_config_interactive).  I've since refactored it to allow overriding."}}