Skip to content

Commit

Permalink
cli jj util completion --help: Make the terminal output a bit prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyagr committed May 7, 2024
1 parent 47c010f commit 12cff0b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions cli/src/commands/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions cli/tests/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12cff0b

Please sign in to comment.