stecman / symfony-console-completion

Automatic tab-key completion for Symfony console application options, arguments and parameters
MIT License
420 stars 26 forks source link

$'\357\273\277' In front of first command #61

Closed theboxer closed 7 years ago

theboxer commented 8 years ago

After hitting tab to get all available commands, first command is prepended with $'\357\273\277' and it's unable to trigger it through the completion.

screen shot 2015-10-10 at 22 41 13

OS X 10.11 Shell: Oh My Zsh

stecman commented 8 years ago

Hey @theboxer, apparently \357\273\277 is a UTF8 Byte Order Mark (BOM). I've run a search across this library's source and it doesn't contain this BOM, so it's likely that output is coming from the program you're completing for, or something else in your environment. A fresh install of Oh My Zsh doesn't exhibit this issue on my machine, but it's possible the output could also be coming from a plugin, theme, etc.

You could try searching your code for any BOMs and removing them. Also, if the source of the command-line application you're using is available, a link to that would also help to debug this issue.

stecman commented 7 years ago

Closing this as there hasn't been any activity for a year, and I'm reasonably sure the issue is explained.