-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
bug: Test and fix all bash completions #400
Comments
Save time by removing all completions and use this instead: https://docs.rs/clap_complete/4.4.1/clap_complete/ |
The issue persists in release Solution: After looking at the bash completion file eza, I believe it is simply a matter of adding all the missing options to I lack the expertise to make such changes, but perhaps an external contributor can update the |
What makes you believe that is the case? Could you link to a mechanism in native bash that creates completions from help output? Also, for what it's worth, creating a contribution that adds flags to the help flag is an easy first contribution for anyone interested. |
@cafkafk My programming skill is very rusty, but the autocomplete file seems to gather the flags from --help, as shown here: Lines 57 to 64 in 74fed8c
Specifically this parse_help=$(eza --help | grep -oE ' (--[[:alnum:]@-]+)' | tr -d ' ' | grep -v '\--colo') (Also, thank you for all your work in maintaining this repo. It is amazing software. ❤️) |
The help text and the available flags had become out of sync, which also distorts the completion in bash. Fixes eza-community#400 - bug: Test and fix all bash completions
The help text and the available flags had become out of sync, which also distorts the completion in bash. Fixes eza-community#400 - bug: Test and fix all bash completions
The help text and the available flags had become out of sync, which also distorts the completion in bash. Fixes #400 - bug: Test and fix all bash completions
The help text and the available flags had become out of sync, which also distorts the completion in bash. Fixes eza-community#400 - bug: Test and fix all bash completions
The help text and the available flags had become out of sync, which also distorts the completion in bash. Fixes eza-community#400 - bug: Test and fix all bash completions
Bash completions have been a bit unloved, we should go through and test/fix them.
The text was updated successfully, but these errors were encountered: