Skip to content

Commit

Permalink
docs: fix typo in env variable $COMPLETE, and clarify text
Browse files Browse the repository at this point in the history
Closes #5466.
  • Loading branch information
martinvonz committed Jan 26, 2025
1 parent fe54c62 commit e299931
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/install-and-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,9 @@ transition once we default to these new completions.

!!! info "Why are the improved completions not the default?"

To get the improved completions it is required to set the `COMPLETION` env
variable to your current shell before using the completion command, as
they're not the default yet. See the upstream clap issue [#3166][clap]
for the explanation.
To generate the dynamic completion script, execute `jj` with `$COMPLETE` set
to the name of your shell (see examples below). See the upstream clap issue
[#3166][clap] for the explanation.


### Bash
Expand Down

0 comments on commit e299931

Please sign in to comment.