{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/443","labels_url":"https://api.github.com/repos/docker/machine/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/443/comments","events_url":"https://api.github.com/repos/docker/machine/issues/443/events","html_url":"https://github.com/docker/machine/pull/443","id":55974612,"number":443,"title":"Add shell function recommendation","user":{"login":"nathanleclaire","id":1476820,"avatar_url":"https://avatars.githubusercontent.com/u/1476820?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanleclaire","html_url":"https://github.com/nathanleclaire","followers_url":"https://api.github.com/users/nathanleclaire/followers","following_url":"https://api.github.com/users/nathanleclaire/following{/other_user}","gists_url":"https://api.github.com/users/nathanleclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanleclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanleclaire/subscriptions","organizations_url":"https://api.github.com/users/nathanleclaire/orgs","repos_url":"https://api.github.com/users/nathanleclaire/repos","events_url":"https://api.github.com/users/nathanleclaire/events{/privacy}","received_events_url":"https://api.github.com/users/nathanleclaire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-29T23:42:26Z","updated_at":"2015-01-30T15:17:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/machine/pulls/443","html_url":"https://github.com/docker/machine/pull/443","diff_url":"https://github.com/docker/machine/pull/443.diff","patch_url":"https://github.com/docker/machine/pull/443.patch"},"body":"cc @bfirsh @ehazlett @sthulb \r\n\r\nI find this a lot easier and more pleasant to use than the other\r\ncurrently supported methods (`env` and `config`) and may serve us well\r\nas a stopgap until/if we can get true config files for Docker.  It's\r\ndefinitely worth bringing up to users since the workflow is so nice (I\r\nfind that I forget the active machine often and want a way to access it\r\nthrough the same interface I use to run Docker commands against it).\r\n\r\n@bfirsh hopefully doesn't think I am trying to sneak in the \"use\" syntax I originally mentioned wanting :smile: .  I am not wildly attached to that part if you guys decide it is not best judgment (although I do find it _really_ nice to use as I forget my active machine quite often and want a quick way to see it) - the most important is to have something like `docker $(docker-machine config $(docker-machine active)) \"$@\"` in the function.\r\n\r\nSigned-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/72216339","html_url":"https://github.com/docker/machine/pull/443#issuecomment-72216339","issue_url":"https://api.github.com/repos/docker/machine/issues/443","id":72216339,"user":{"login":"ehazlett","id":260642,"avatar_url":"https://avatars.githubusercontent.com/u/260642?v=3","gravatar_id":"","url":"https://api.github.com/users/ehazlett","html_url":"https://github.com/ehazlett","followers_url":"https://api.github.com/users/ehazlett/followers","following_url":"https://api.github.com/users/ehazlett/following{/other_user}","gists_url":"https://api.github.com/users/ehazlett/gists{/gist_id}","starred_url":"https://api.github.com/users/ehazlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehazlett/subscriptions","organizations_url":"https://api.github.com/users/ehazlett/orgs","repos_url":"https://api.github.com/users/ehazlett/repos","events_url":"https://api.github.com/users/ehazlett/events{/privacy}","received_events_url":"https://api.github.com/users/ehazlett/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T15:17:53Z","updated_at":"2015-01-30T15:17:53Z","body":"That's an interesting idea.  I think the concept of \"active\" in docker machine causes confusion.  For example, if we remove the active machine then we get \"error not active machine set\" when things still work.  We also have to account for the varying invocations -  i.e. `machine url` and `machine url <name>` etc.  It just seems odd to me.  \r\n\r\nHowever, if it makes sense to everyone else, I'm cool with it :)\r\n\r\nThoughts? /cc @sthulb @ggiamarchi @cpuguy83 @jeffmendoza @ ahmetalpbalkan @smashwilson "}}