ripgrep/crates/core/flags
Max Coplan 94305125ef
zsh: support sourcing zsh completion dynamically
Previously, you needed to save the completion script to a file and
then source it. Now, you can dynamically source completions in zsh by
running

    $ source <(rg --generate complete-zsh)

Before this commit, you would get an error after step 1.
After this commit, it should work as expected.

We also improve the FAQ item for zsh completions.

Fixes #2956
2024-12-31 08:23:13 -05:00
..
complete zsh: support sourcing zsh completion dynamically 2024-12-31 08:23:13 -05:00
doc doc: tweak wording for stdin detection 2024-09-30 07:38:05 -04:00
config.rs cli: replace clap with lexopt and supporting code 2023-11-20 23:51:53 -05:00
defs.rs doc: fix typo in --heading flag help 2024-08-02 17:32:42 -04:00
hiargs.rs doc: fix typo in comments 2024-02-22 06:57:58 -05:00
lowargs.rs cli: replace clap with lexopt and supporting code 2023-11-20 23:51:53 -05:00
mod.rs complete/fish: improve shell completions for fish 2024-01-06 10:39:35 -05:00
parse.rs doc: fix typo 2024-04-02 09:10:25 -04:00