diff --git a/cli/src/commands/util.rs b/cli/src/commands/util.rs index 49b0a04e05..8ddffc8809 100644 --- a/cli/src/commands/util.rs +++ b/cli/src/commands/util.rs @@ -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 diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap index e97ae17665..ba895fff64 100644 --- a/cli/tests/cli-reference@.md.snap +++ b/cli/tests/cli-reference@.md.snap @@ -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