Skip to content

Commit

Permalink
docs: remove v0.7.0 shell completion instructions
Browse files Browse the repository at this point in the history
Now that v0.9.0 is released, it seems appropriate.
  • Loading branch information
ilyagr committed Sep 6, 2023
1 parent d047512 commit 2911f41
Showing 1 changed file with 2 additions and 29 deletions.
31 changes: 2 additions & 29 deletions docs/install-and-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,21 +108,15 @@ $ jj config set --user user.email "[email protected]"
## Command-line completion

To set up command-line completion, source the output of
`jj util completion --bash/--zsh/--fish` (called `jj debug completion` in
jj <= 0.7.0). Exactly how to source it depends on your shell.
`jj util completion --bash/--zsh/--fish`. Exactly how to source it
depends on your shell.

### Bash

```shell
source <(jj util completion) # --bash is the default
```

Or, with jj <= 0.7.0:

```shell
source <(jj debug completion) # --bash is the default
```

### Zsh

```shell
Expand All @@ -131,35 +125,14 @@ compinit
source <(jj util completion --zsh)
```

Or, with jj <= 0.7.0:

```shell
autoload -U compinit
compinit
source <(jj debug completion --zsh)
```

### Fish

```shell
jj util completion --fish | source
```

Or, with jj <= 0.7.0:

```shell
jj debug completion --fish | source
```

### Xonsh

```shell
source-bash $(jj util completion)
```

Or, with jj <= 0.7.0:

```shell
source-bash $(jj debug completion)
```

0 comments on commit 2911f41

Please sign in to comment.