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 zsh completion #390

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Fix zsh completion #390

merged 1 commit into from
Apr 26, 2024

Conversation

eatsu
Copy link
Contributor

@eatsu eatsu commented Apr 26, 2024

  • Use _files to complete file paths
  • Add _dust_output_formats for -o/--output-format
  • Add missing headings

Fixes #359

- Use `_files` to complete file paths
- Add `_dust_output_formats` for -o/--output-format
- Add missing headings

Fixes bootandy#359
@bootandy bootandy merged commit ecd6b85 into bootandy:master Apr 26, 2024
17 checks passed
eatsu added a commit to eatsu/dust that referenced this pull request Apr 28, 2024
Because I'm not familiar with Rust, when I was working on
bootandy#390 I didn't realize that the
completions were auto-generated via clap. I'm sorry. This redoes it
with clap.

This improves not only the completions but also the --help and the
man page. Also the --output-format flag will raise an error if the
given value is invalid.
bootandy pushed a commit that referenced this pull request May 1, 2024
Because I'm not familiar with Rust, when I was working on
#390 I didn't realize that the
completions were auto-generated via clap. I'm sorry. This redoes it
with clap.

This improves not only the completions but also the --help and the
man page. Also the --output-format flag will raise an error if the
given value is invalid.
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.

zsh completion does not allow directories to be tab-completed
2 participants