Update bash completion options for --pdf-engine#11555
Update bash completion options for --pdf-engine#11555
Conversation
Removed 'pdfroff' from the list of options for --pdf-engine, to avoid lookup for `pdfroff.exe` win executable on cygwin, and enable native cygwin script...
alerque
left a comment
There was a problem hiding this comment.
This completion script affects all platforms, no? It seems like you're trying to solve a platform and environment specific problem with a change that will affect many other scenarios that might already work properly as collateral damage.
|
it seems to me that this bash completion is redundant, since appending the |
|
What are you talking about? The code you removed isn't adding or using an exe extension in the first place. |
|
my apologies: the issue is that the engine supported now by default by groff is the option |
|
If we only had to support Windows, this change might make sense. But since there are other platforms that have pdfroff, it doesn't... |
perhaps the change should be to add the |
|
Good idea, I'll do that. |
Removed 'pdfroff' from the list of options for --pdf-engine, to avoid lookup for
pdfroff.exewin executable on cygwin, and enable native cygwin script...The alternative
groff -Tpdfgroff engine is not enumerated, and runs perfectly well on cygwin without searching for a Win executable.