-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
completion: Update docs for new style with positional argument
- Loading branch information
1 parent
866e862
commit fb10e3f
Showing
4 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -156,7 +156,7 @@ $ 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`. Exactly how to source it | ||
`jj util completion bash/zsh/fish`. Exactly how to source it | ||
depends on your shell. | ||
|
||
### Bash | ||
|
@@ -170,13 +170,13 @@ source <(jj util completion) # --bash is the default | |
```shell | ||
autoload -U compinit | ||
compinit | ||
source <(jj util completion --zsh) | ||
source <(jj util completion zsh) | ||
``` | ||
|
||
### Fish | ||
|
||
```shell | ||
jj util completion --fish | source | ||
jj util completion fish | source | ||
``` | ||
|
||
### Xonsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters