mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-01 00:50:57 +00:00
cli jj util completion --help
: Make the terminal output a bit prettier
Cc: https://github.com/martinvonz/jj/pull/2949#issuecomment-2098710774
This commit is contained in:
parent
9be159342c
commit
2760b23f8d
2 changed files with 8 additions and 8 deletions
|
@ -40,14 +40,14 @@ pub(crate) enum UtilCommand {
|
|||
|
||||
Apply it by running one of these:
|
||||
|
||||
- **bash**: `source <(jj util completion bash)`
|
||||
- **fish**: `jj util completion fish | source`
|
||||
- **nushell**:
|
||||
- Bash: `source <(jj util completion bash)`
|
||||
- Fish: `jj util completion fish | source`
|
||||
- Nushell:
|
||||
```nu
|
||||
jj util completion nushell | save "completions-jj.nu"
|
||||
use "completions-jj.nu" * # Or `source "completions-jj.nu"`
|
||||
```
|
||||
- **zsh**:
|
||||
- Zsh:
|
||||
```shell
|
||||
autoload -U compinit
|
||||
compinit
|
||||
|
|
|
@ -1860,14 +1860,14 @@ Print a command-line-completion script
|
|||
|
||||
Apply it by running one of these:
|
||||
|
||||
- **bash**: `source <(jj util completion bash)`
|
||||
- **fish**: `jj util completion fish | source`
|
||||
- **nushell**:
|
||||
- Bash: `source <(jj util completion bash)`
|
||||
- Fish: `jj util completion fish | source`
|
||||
- Nushell:
|
||||
```nu
|
||||
jj util completion nushell | save "completions-jj.nu"
|
||||
use "completions-jj.nu" * # Or `source "completions-jj.nu"`
|
||||
```
|
||||
- **zsh**:
|
||||
- Zsh:
|
||||
```shell
|
||||
autoload -U compinit
|
||||
compinit
|
||||
|
|
Loading…
Reference in a new issue