{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/1170","labels_url":"https://api.github.com/repos/docker/compose/issues/1170/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/1170/comments","events_url":"https://api.github.com/repos/docker/compose/issues/1170/events","html_url":"https://github.com/docker/compose/pull/1170","id":64076442,"number":1170,"title":"Fix Bash Completion","user":{"login":"benhamill","id":25421,"avatar_url":"https://avatars.githubusercontent.com/u/25421?v=3","gravatar_id":"","url":"https://api.github.com/users/benhamill","html_url":"https://github.com/benhamill","followers_url":"https://api.github.com/users/benhamill/followers","following_url":"https://api.github.com/users/benhamill/following{/other_user}","gists_url":"https://api.github.com/users/benhamill/gists{/gist_id}","starred_url":"https://api.github.com/users/benhamill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhamill/subscriptions","organizations_url":"https://api.github.com/users/benhamill/orgs","repos_url":"https://api.github.com/users/benhamill/repos","events_url":"https://api.github.com/users/benhamill/events{/privacy}","received_events_url":"https://api.github.com/users/benhamill/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/dco/yes","name":"dco/yes","color":"ededed"},{"url":"https://api.github.com/repos/docker/compose/labels/status/0-needs-triage","name":"status/0-needs-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-03-24T19:11:43Z","updated_at":"2015-07-16T21:23:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/compose/pulls/1170","html_url":"https://github.com/docker/compose/pull/1170","diff_url":"https://github.com/docker/compose/pull/1170.diff","patch_url":"https://github.com/docker/compose/pull/1170.patch"},"body":"Behold:\r\n\r\n```\r\n● ~ ❱ source ~/bash_completion.d/docker-compose\r\n-sh: `__docker-compose_compose_file': not a valid identifier\r\n-sh: `___docker-compose_all_services_in_compose_file': not a valid identifier\r\n-sh: `__docker-compose_services_all': not a valid identifier\r\n-sh: `___docker-compose_services_with_key': not a valid identifier\r\n-sh: `__docker-compose_services_from_build': not a valid identifier\r\n-sh: `__docker-compose_services_from_image': not a valid identifier\r\n-sh: `__docker-compose_services_with': not a valid identifier\r\n-sh: `__docker-compose_services_running': not a valid identifier\r\n-sh: `__docker-compose_services_stopped': not a valid identifier\r\n-sh: `_docker-compose_build': not a valid identifier\r\n-sh: `_docker-compose_docker-compose': not a valid identifier\r\n-sh: `_docker-compose_help': not a valid identifier\r\n-sh: `_docker-compose_kill': not a valid identifier\r\n-sh: `_docker-compose_logs': not a valid identifier\r\n-sh: `_docker-compose_port': not a valid identifier\r\n-sh: `_docker-compose_ps': not a valid identifier\r\n-sh: `_docker-compose_pull': not a valid identifier\r\n-sh: `_docker-compose_restart': not a valid identifier\r\n-sh: `_docker-compose_rm': not a valid identifier\r\n-sh: `_docker-compose_run': not a valid identifier\r\n-sh: `_docker-compose_scale': not a valid identifier\r\n-sh: `_docker-compose_start': not a valid identifier\r\n-sh: `_docker-compose_stop': not a valid identifier\r\n-sh: `_docker-compose_up': not a valid identifier\r\n-sh: `_docker-compose': not a valid identifier\r\n```\r\n\r\nSeems really weird. I assume it's something wrong with either the bash completion file or my shell. Anyone got any pointers?\r\n\r\n```\r\n● ~ ❱ docker-compose --version\r\ndocker-compose 1.1.0\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/122103403","html_url":"https://github.com/docker/compose/pull/1170#issuecomment-122103403","issue_url":"https://api.github.com/repos/docker/compose/issues/1170","id":122103403,"user":{"login":"benhamill","id":25421,"avatar_url":"https://avatars.githubusercontent.com/u/25421?v=3","gravatar_id":"","url":"https://api.github.com/users/benhamill","html_url":"https://github.com/benhamill","followers_url":"https://api.github.com/users/benhamill/followers","following_url":"https://api.github.com/users/benhamill/following{/other_user}","gists_url":"https://api.github.com/users/benhamill/gists{/gist_id}","starred_url":"https://api.github.com/users/benhamill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhamill/subscriptions","organizations_url":"https://api.github.com/users/benhamill/orgs","repos_url":"https://api.github.com/users/benhamill/repos","events_url":"https://api.github.com/users/benhamill/events{/privacy}","received_events_url":"https://api.github.com/users/benhamill/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T21:23:53Z","updated_at":"2015-07-16T21:23:53Z","body":"Folks around me who've seen this, including me, are installing Compose from homebrew. My understanding is that this is a very, very common way to install Compose. And I've seen it on OS X versions 10.9 and 10.10.\r\n\r\nAs for bash:\r\n```\r\n● ~ ❱ bash --version\r\nGNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)\r\nCopyright (C) 2007 Free Software Foundation, Inc.\r\n```\r\n\r\nHope that helps. Would love to see this merged soon. :heart: "}}