ok/jj
1
0
Fork 0
forked from mirrors/jj

README: put jj debug completion (jj<=0.7.0) close to jj debug version

Fixes #1711.
This commit is contained in:
Martin von Zweigbergk 2023-06-19 22:03:02 -07:00 committed by Martin von Zweigbergk
parent 8a8b96a448
commit dc98a56119

View file

@ -255,6 +255,10 @@ jj <= 0.7.0). Exactly how to source it depends on your shell.
```shell script ```shell script
source <(jj util completion) # --bash is the default 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 ### Zsh
```shell script ```shell script
@ -262,16 +266,30 @@ autoload -U compinit
compinit compinit
source <(jj util completion --zsh) source <(jj util completion --zsh)
``` ```
Or, with jj <= 0.7.0:
```shell script
autoload -U compinit
compinit
source <(jj debug completion --zsh)
```
### Fish ### Fish
```shell script ```shell script
jj util completion --fish | source jj util completion --fish | source
``` ```
Or, with jj <= 0.7.0:
```shell script
jj debug completion --fish | source
```
### Xonsh ### Xonsh
```shell script ```shell script
source-bash $(jj util completion) source-bash $(jj util completion)
``` ```
Or, with jj <= 0.7.0:
```shell script
source-bash $(jj debug completion)
```
## Getting started ## Getting started