Closed hongyi-zhao closed 3 years ago
I once had a look how to provide this feature. It looked like a difficult task and I decided not to do it. Maybe I reconsider it.
What already works: You don't need to type the full option. It only needs enough chars to be unique.
For example, --nx
will be parsed as --nxagent
, --cap
as --cap-default
. This is a feature of getopt
that x11docker uses for option parsing.
Another possibility is to use x11docker-gui
. It allows to choose desired options with some mouse clicks and to copy the generated command to clipboard.
From a personal point of view, I always think that the CLI based method is more efficient than the GUI one. You can see this in the working manners of Emacs and Vim.
Maybe I'll add tab completion one day, but not yet. Closing for now.
Hi,
I noticed that there are so many options supported by x11docker, but currently it doesn't support command line option auto-completion by
<tab>
key.Could you please kindly add this feature?
Regards, HY