From c0cf31cfd87724335f2affba69b5d752644c97eb Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 9 Apr 2014 22:02:53 +0100 Subject: [PATCH] /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 gh-651 --- spring-boot-docs/src/main/asciidoc/getting-started.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/getting-started.adoc b/spring-boot-docs/src/main/asciidoc/getting-started.adoc index 877f275172..2576e4fbc1 100644 --- a/spring-boot-docs/src/main/asciidoc/getting-started.adoc +++ b/spring-boot-docs/src/main/asciidoc/getting-started.adoc @@ -311,13 +311,13 @@ Spring Boot CLI ships with scripts that provide command completion for http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29[BASH] and http://en.wikipedia.org/wiki/Zsh[zsh] shells. You can `source` the script (also named `spring`) in any shell, or put it in your personal or system-wide bash completion -initialization. On a Debian system the system-wide scripts are in `/etc/bash_completion.d` +initialization. On a Debian system the system-wide scripts are in `/shell-completion/bash` and all scripts in that directory are executed when a new shell starts. To run the script manually, e.g. if you have installed using `GVM` [indent=0] ---- - $ . ~/.gvm/springboot/current/bash_completion.d/spring + $ . ~/.gvm/springboot/current/shell-completion/bash/spring $ spring grab help jar run test version ----