/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
pull/654/merge
Dave Syer 11 years ago
parent 966ee879b1
commit c0cf31cfd8

@ -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/Bash_%28Unix_shell%29[BASH] and
http://en.wikipedia.org/wiki/Zsh[zsh] shells. You can `source` the script (also named 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 `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 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` manually, e.g. if you have installed using `GVM`
[indent=0] [indent=0]
---- ----
$ . ~/.gvm/springboot/current/bash_completion.d/spring $ . ~/.gvm/springboot/current/shell-completion/bash/spring
$ spring <HIT TAB HERE> $ spring <HIT TAB HERE>
grab help jar run test version grab help jar run test version
---- ----

Loading…
Cancel
Save