mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-28 07:20:11 +00:00
README: put jj debug completion
(jj<=0.7.0) close to jj debug
version
Fixes #1711.
This commit is contained in:
parent
8a8b96a448
commit
dc98a56119
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -255,6 +255,10 @@ 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
|
||||
|
@ -262,16 +266,30 @@ 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
|
||||
|
|
Loading…
Reference in a new issue