Skip to content

Commit 41afc6a

Browse files
committed
Merge branch '3.3.x'
Closes spring-projectsgh-42104
2 parents 4e2212b + ea246d3 commit 41afc6a

File tree

1 file changed

+3
-3
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/ROOT/pages

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/ROOT/pages/installing.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,15 @@ $ sudo port install spring-boot-cli
177177
=== Command-line Completion
178178

179179
The Spring Boot CLI includes scripts that provide command completion for the https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29[BASH] and https://en.wikipedia.org/wiki/Z_shell[zsh] shells.
180-
You can `source` the script (also named `spring`) in any shell or put it in your personal or system-wide bash completion initialization.
181-
On a Debian system, the system-wide scripts are in `<installation location>/shell-completion/bash` and all scripts in that directory are executed when a new shell starts.
180+
You can `source` the script named `spring` (`_spring` for zsh) or put it in your personal or system-wide bash completion initialization.
181+
On a Debian system, the system-wide scripts are in `<installation location>/shell-completion/<bash|zsh>` and all scripts in that directory are executed when a new shell starts.
182182
For example, to run the script manually if you have installed by using SDKMAN!, use the following commands:
183183

184184
[source,shell]
185185
----
186186
$ . ~/.sdkman/candidates/springboot/current/shell-completion/bash/spring
187187
$ spring <HIT TAB HERE>
188-
grab help jar run test version
188+
encodepassword help init shell version
189189
----
190190

191191
NOTE: If you install the Spring Boot CLI by using Homebrew or MacPorts, the command-line completion scripts are automatically registered with your shell.

0 commit comments

Comments
 (0)