diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb index 09e0c6f..5b69d45 100644 --- a/lib/hcl/commands.rb +++ b/lib/hcl/commands.rb @@ -94,7 +94,7 @@ def completion command=nil command ||= $PROGRAM_NAME.split('/').last $stderr.puts \ "The hcl completion command is deprecated (and slow!), instead use something like:", - "> complete -W "`cat #{HCl::App::ALIAS_LIST}`" #{command}" + "> complete -W \"`cat #{HCl::App::ALIAS_LIST}`\" #{command}" %[complete -W "#{aliases.join ' '}" #{command}] end