{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2416","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2416/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2416/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2416/events","html_url":"https://github.com/fish-shell/fish-shell/issues/2416","id":107791818,"number":2416,"title":"nvim aliased to vim gives lots of error on tab completion.","user":{"login":"onodera-punpun","id":5213535,"avatar_url":"https://avatars.githubusercontent.com/u/5213535?v=3","gravatar_id":"","url":"https://api.github.com/users/onodera-punpun","html_url":"https://github.com/onodera-punpun","followers_url":"https://api.github.com/users/onodera-punpun/followers","following_url":"https://api.github.com/users/onodera-punpun/following{/other_user}","gists_url":"https://api.github.com/users/onodera-punpun/gists{/gist_id}","starred_url":"https://api.github.com/users/onodera-punpun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onodera-punpun/subscriptions","organizations_url":"https://api.github.com/users/onodera-punpun/orgs","repos_url":"https://api.github.com/users/onodera-punpun/repos","events_url":"https://api.github.com/users/onodera-punpun/events{/privacy}","received_events_url":"https://api.github.com/users/onodera-punpun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"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},"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 bugs that are not targeted for an upcoming release. After a release, we will reexamine these bugs and pull any in that we think are good targets.\r\n\r\nIf you can provide a fix for a bug in this milestone, we'll generally accept it for the next release even if the bug is not in 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":388,"closed_issues":128,"state":"open","created_at":"2012-06-11T02:25:13Z","updated_at":"2015-09-22T20:13:46Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-09-22T20:10:31Z","updated_at":"2015-09-22T21:35:37Z","closed_at":null,"body":"I aliased nvim (neovim) to vim using a simple function. Now when I tab complete in the shell I get the following:\r\n\r\n```\r\n/usr/share/nvim/runtime/tutor vim tufish: Unknown command 'vim'\r\n- (line 1): begin; command vim --version \r\n                           ^\r\nfrom sourcing file -\r\n\tcalled on line 60 of file /usr/share/fish/functions/eval.fish\r\n\r\nin function 'eval'\r\n\tcalled on line 6 of file /usr/share/fish/functions/__fish_complete_/usr/share/nvim/runtime/tutor vim tufish: Unknown command 'vim'\r\n- (line 1): begin; command vim --version \r\n                           ^\r\nfrom sourcing file -\r\n\tcalled on line 60 of file /usr/share/fish/functions/eval.fish\r\n\r\nin function 'eval'\r\n\tcalled on line 6 of file /usr/share/fish/functions/__fish_complete_vi.fish\r\n\r\nin function '__fish_complete_vi'\r\n\tcalled on line 3 of file /usr/share/fish/completions/vim.fish\r\n\twith parameter list 'vim'\r\n\r\nfrom sourcing file /usr/share/fish/completions/vim.fish\r\n\tcalled on standard input\r\n\r\nin command substitution\r\n\tcalled on standard input\r\n\r\n```\r\n\r\n```\r\n/usr/share/nvim/runtime/tutor vim tufish: Unknown command 'vim'\r\n                                    ^ This is where I tab completed\r\n```"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/142429596","html_url":"https://github.com/fish-shell/fish-shell/issues/2416#issuecomment-142429596","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2416","id":142429596,"user":{"login":"onodera-punpun","id":5213535,"avatar_url":"https://avatars.githubusercontent.com/u/5213535?v=3","gravatar_id":"","url":"https://api.github.com/users/onodera-punpun","html_url":"https://github.com/onodera-punpun","followers_url":"https://api.github.com/users/onodera-punpun/followers","following_url":"https://api.github.com/users/onodera-punpun/following{/other_user}","gists_url":"https://api.github.com/users/onodera-punpun/gists{/gist_id}","starred_url":"https://api.github.com/users/onodera-punpun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onodera-punpun/subscriptions","organizations_url":"https://api.github.com/users/onodera-punpun/orgs","repos_url":"https://api.github.com/users/onodera-punpun/repos","events_url":"https://api.github.com/users/onodera-punpun/events{/privacy}","received_events_url":"https://api.github.com/users/onodera-punpun/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T21:35:37Z","updated_at":"2015-09-22T21:35:37Z","body":">What's that? Doesn't look like our stuff.\r\n\r\nTwo lines (my prompt `/usr/share/nvim/runtime/tutor` and the error) being mangled"}}