Skip to content

Commit c0cf31c

Browse files
author
Dave Syer
committed
/etc/bash_completion.d -> something else
I preferred /etc/bash_completion.d (since it mirrors the actual preferred deployment of the scripts on my OS). Maybe the MacBoys have a different point of view? Anyway the docs now point to the actual script location. Fixes spring-projectsgh-651
1 parent 966ee87 commit c0cf31c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-docs/src/main/asciidoc/getting-started.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,13 @@ Spring Boot CLI ships with scripts that provide command completion for
311311
http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29[BASH] and
312312
http://en.wikipedia.org/wiki/Zsh[zsh] shells. You can `source` the script (also named
313313
`spring`) in any shell, or put it in your personal or system-wide bash completion
314-
initialization. On a Debian system the system-wide scripts are in `/etc/bash_completion.d`
314+
initialization. On a Debian system the system-wide scripts are in `/shell-completion/bash`
315315
and all scripts in that directory are executed when a new shell starts. To run the script
316316
manually, e.g. if you have installed using `GVM`
317317

318318
[indent=0]
319319
----
320-
$ . ~/.gvm/springboot/current/bash_completion.d/spring
320+
$ . ~/.gvm/springboot/current/shell-completion/bash/spring
321321
$ spring <HIT TAB HERE>
322322
grab help jar run test version
323323
----

0 commit comments

Comments
 (0)