interactively icon indicating copy to clipboard operation
interactively copied to clipboard

[feature] Shell completion

Open Freed-Wu opened this issue 3 years ago • 1 comments

For zsh, the following script can work:

#compdef interactively

_arguments -s -S \
  "(- : *)"{-h,--help}"[Show list of command-line options]" \
  "--name[Show list of command-line options]: :{_command_names -e}" \
  '(-)1: :{_command_names -e}' \
  '*:: :_normal'

However, it needs #3.

Freed-Wu avatar Nov 03 '22 13:11 Freed-Wu

If you can create a PR for #3 that addresses the issues I mentioned, then I think this can be added.

bigH avatar Jun 28 '23 21:06 bigH