-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
Many Linux utilities support bash autocompletion [0] that greatly improves User Experience. Autocompletion reduces typing, prevents typing mistakes, and even works as a "documentation". Look at 'git' autocompletion for example [1]. It's very extensive.
As part of this ticket, it would be nice to write a bash script that User could source from, and gain autocompletion for 'jcmd' tool.
I've made a prototype. Find the script in attachment.
It's not a goal to install bash script on the system during JDK installation.
[0] - bash Programmable Completion Builtins documentation - https://www.gnu.org/software/bash/manual/html_node/Programmable-Completion-Builtins.html
[1] - git autocompletion https://github.com/git/git/blob/master/contrib/completion/git-completion.bash
As part of this ticket, it would be nice to write a bash script that User could source from, and gain autocompletion for 'jcmd' tool.
I've made a prototype. Find the script in attachment.
It's not a goal to install bash script on the system during JDK installation.
[0] - bash Programmable Completion Builtins documentation - https://www.gnu.org/software/bash/manual/html_node/Programmable-Completion-Builtins.html
[1] - git autocompletion https://github.com/git/git/blob/master/contrib/completion/git-completion.bash