From b8d1e022df61995b419fb71b314cc265d8510c15 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Wed, 8 Apr 2015 13:48:26 -0400 Subject: [PATCH] Adding quotes to the suggested eval Signed-off-by: Dave Henderson --- commands.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.go b/commands.go index 46b1cdb0..ac695b28 100644 --- a/commands.go +++ b/commands.go @@ -750,9 +750,9 @@ func generateUsageHint(machineName string, userShell string) string { } default: if machineName != "" { - cmd = fmt.Sprintf("eval $(docker-machine env %s)", machineName) + cmd = fmt.Sprintf("eval \"$(docker-machine env %s)\"", machineName) } else { - cmd = "eval $(docker-machine env)" + cmd = "eval \"$(docker-machine env)\"" } }