{"action":"created","issue":{"url":"https://api.github.com/repos/zsh-users/zsh-completions/issues/338","labels_url":"https://api.github.com/repos/zsh-users/zsh-completions/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/zsh-users/zsh-completions/issues/338/comments","events_url":"https://api.github.com/repos/zsh-users/zsh-completions/issues/338/events","html_url":"https://github.com/zsh-users/zsh-completions/issues/338","id":99456231,"number":338,"title":"adb bug of -s option for network android device","user":{"login":"rxwen","id":494230,"avatar_url":"https://avatars.githubusercontent.com/u/494230?v=3","gravatar_id":"","url":"https://api.github.com/users/rxwen","html_url":"https://github.com/rxwen","followers_url":"https://api.github.com/users/rxwen/followers","following_url":"https://api.github.com/users/rxwen/following{/other_user}","gists_url":"https://api.github.com/users/rxwen/gists{/gist_id}","starred_url":"https://api.github.com/users/rxwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxwen/subscriptions","organizations_url":"https://api.github.com/users/rxwen/orgs","repos_url":"https://api.github.com/users/rxwen/repos","events_url":"https://api.github.com/users/rxwen/events{/privacy}","received_events_url":"https://api.github.com/users/rxwen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-06T14:57:11Z","updated_at":"2015-08-08T18:52:40Z","closed_at":null,"body":"Say we have following connected android devices:\r\n```\r\nList of devices attached\r\n192.168.0.230:5555      device\r\n307f7bf1        device\r\n```\r\n\r\nWhen we tried to complete \"-s\" option, the port part of \"192.168.0.230:5555\" is not included in the serial number.\r\n\r\n```\r\n# adb -s\r\n192.168.0.230  -- 5555:connected device\r\n307f7bf1       -- connected device\r\n```\r\n\r\nThe desired result should be:\r\n\r\n```\r\n# adb -s\r\n192.168.0.230:5555  -- connected device\r\n307f7bf1       -- connected device\r\n```"},"comment":{"url":"https://api.github.com/repos/zsh-users/zsh-completions/issues/comments/129034383","html_url":"https://github.com/zsh-users/zsh-completions/issues/338#issuecomment-129034383","issue_url":"https://api.github.com/repos/zsh-users/zsh-completions/issues/338","id":129034383,"user":{"login":"msva","id":268102,"avatar_url":"https://avatars.githubusercontent.com/u/268102?v=3","gravatar_id":"","url":"https://api.github.com/users/msva","html_url":"https://github.com/msva","followers_url":"https://api.github.com/users/msva/followers","following_url":"https://api.github.com/users/msva/following{/other_user}","gists_url":"https://api.github.com/users/msva/gists{/gist_id}","starred_url":"https://api.github.com/users/msva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msva/subscriptions","organizations_url":"https://api.github.com/users/msva/orgs","repos_url":"https://api.github.com/users/msva/repos","events_url":"https://api.github.com/users/msva/events{/privacy}","received_events_url":"https://api.github.com/users/msva/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T18:52:40Z","updated_at":"2015-08-08T18:52:40Z","body":"try to open _adb completion and edit line `256`.\r\nThere is `serial_numbers=(${${(M)${(f)\"$(_call_program devices $service devices)\"}` substring.\r\nTry to set it to `serial_numbers=(${${(M)${(f)\"$(_call_program devices $service devices)\"/:/\\\\:}`"}}