forked from mirrors/jj
fix zsh completion guidance
We upgraded to clap 4.1 in 8f1dc490
(cargo: upgrade to clap 4.1,
2023-03-17), and the pipe to `sed` was removed in the README.md file in
that same commit. However the documentation was not updated in mod.rs,
which leads us to give the obsolete (now incorrect) advice when we run
`jj util completion --help`.
See #1393.
This commit is contained in:
parent
066f31a15d
commit
38e6151100
1 changed files with 1 additions and 1 deletions
|
@ -993,7 +993,7 @@ struct UtilCompletionArgs {
|
|||
///
|
||||
/// autoload -U compinit
|
||||
/// compinit
|
||||
/// source <(jj util completion --zsh | sed '$d') # remove the last line
|
||||
/// source <(jj util completion --zsh)
|
||||
/// compdef _jj jj
|
||||
#[arg(long, verbatim_doc_comment)]
|
||||
zsh: bool,
|
||||
|
|
Loading…
Reference in a new issue