Skip to content

Commit

Permalink
README: put jj debug completion (jj<=0.7.0) close to jj debug ver…
Browse files Browse the repository at this point in the history
…sion

Fixes jj-vcs#1711.
  • Loading branch information
martinvonz committed Jun 20, 2023
1 parent 8a8b96a commit dc98a56
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,23 +255,41 @@ jj <= 0.7.0). Exactly how to source it depends on your shell.
```shell script
source <(jj util completion) # --bash is the default
```
Or, with jj <= 0.7.0:
```shell script
source <(jj debug completion) # --bash is the default
```

### Zsh
```shell script
autoload -U compinit
compinit
source <(jj util completion --zsh)
```
Or, with jj <= 0.7.0:
```shell script
autoload -U compinit
compinit
source <(jj debug completion --zsh)
```

### Fish
```shell script
jj util completion --fish | source
```
Or, with jj <= 0.7.0:
```shell script
jj debug completion --fish | source
```

### Xonsh
```shell script
source-bash $(jj util completion)
```
Or, with jj <= 0.7.0:
```shell script
source-bash $(jj debug completion)
```


## Getting started
Expand Down

0 comments on commit dc98a56

Please sign in to comment.