{"action":"opened","issue":{"url":"https://api.github.com/repos/scop/bash-completion/issues/209","repository_url":"https://api.github.com/repos/scop/bash-completion","labels_url":"https://api.github.com/repos/scop/bash-completion/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/scop/bash-completion/issues/209/comments","events_url":"https://api.github.com/repos/scop/bash-completion/issues/209/events","html_url":"https://github.com/scop/bash-completion/issues/209","id":320604980,"number":209,"title":"Completing \"/ \" gives _xspecs: bad array subscript","user":{"login":"dm606","id":6421317,"avatar_url":"https://avatars2.githubusercontent.com/u/6421317?v=4","gravatar_id":"","url":"https://api.github.com/users/dm606","html_url":"https://github.com/dm606","followers_url":"https://api.github.com/users/dm606/followers","following_url":"https://api.github.com/users/dm606/following{/other_user}","gists_url":"https://api.github.com/users/dm606/gists{/gist_id}","starred_url":"https://api.github.com/users/dm606/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dm606/subscriptions","organizations_url":"https://api.github.com/users/dm606/orgs","repos_url":"https://api.github.com/users/dm606/repos","events_url":"https://api.github.com/users/dm606/events{/privacy}","received_events_url":"https://api.github.com/users/dm606/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-06T16:04:58Z","updated_at":"2018-05-06T16:04:58Z","closed_at":null,"author_association":"NONE","body":"Typing \"/ \" in bash without the quotes (slash, space) and pressing tab results in `bash: _xspecs: bad array subscript`.\r\nThe issue appears to be that on this line:\r\nhttps://github.com/scop/bash-completion/blob/103db12fd29746ec88f69849842fa3d2f9d251d0/bash_completion#L2021\r\nThe command is expanded to the empty string. The check for the empty string occurs before the expansion.\r\n"}}
{"actor":{"display_login":"dm606"}}