add racket-pcomplete#90
Conversation
|
Thank you very much for this pull request. I like the idea of providing shell completion. Before I merge, may I ask about another idea, how to do this? It would be elegant to discover all the raco commands and their options, programmatically. That way, as users install more tools, and/or the tools add more options, it would be correct automatically (compared to updating the static list). How to find the tools? It looks like the following returns a list of information about all installed tools: How about the command-line options for each tool? This is trickier. Two ideas:
However. Maybe I'm over-thinking this. If you think this idea is too complicated or too difficult, then I should simply merge the PR as-is. :) |
|
Hi. |
When you use eshell-mode or shell-mode as your main shell, racket and raco command completion is convenient. Emacs use pcomplete for command completion, so I add this.
For now, I just add pcomplete/raco. If you think the code should be merged, I will add pcomplete/racket.