mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
/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
This commit is contained in:
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…
Reference in New Issue
Block a user