Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bashcompletion with subcommands #73

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

M0ses
Copy link
Contributor

@M0ses M0ses commented Jul 15, 2024

Fixes: #72

Improvements/Fixes:

  • Filter out duplicate entries from _.*_COMMANDS="..."
  • Do not add subcommands to _.*_COMMANDS="..."
  • add subcommands at the beginning of _.*_macc_command options list
  • use _.*_command_subcommand() { ... } instead of _.*_command subcommand() { ... }

@M0ses
Copy link
Contributor Author

M0ses commented Jul 24, 2024

@maros I could not find a possibillity to add you as reviewer so I wanted to ask if you already seen my PR.

Fixes: maros#72

**Improvements/Fixes:**

* Filter out duplicate entries from `_.*_COMMANDS="..."`
* Do not add subcommands to `_.*_COMMANDS="..."`
* add subcommands at the beginning of `_.*_macc_command` options list
* use `_.*_command_subcommand() { ... }` instead of `_.*_command subcommand() { ... }`
@M0ses M0ses force-pushed the fix_bashcompletion_with_subcommands branch from edab92e to 244cce7 Compare August 9, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bash completion broken when using subcommands
1 participant