Improve documentation about the new bash completion feature (#10962)
parent
6cb5576a32
commit
4aa3258d19
|
@ -15,9 +15,13 @@ calls `composer dump-autoload`.
|
||||||
|
|
||||||
## Bash Completions
|
## Bash Completions
|
||||||
|
|
||||||
To install bash completions you can run `composer completion bash > completion.bash` (put the file
|
To install bash completions you can run `composer completion bash > completion.bash`.
|
||||||
in /etc/bash_completion.d/composer to make it load automatically in new terminals) and then
|
This will create a `completion.bash` file in the current directory.
|
||||||
`source completion.bash` to enable it in the current terminal session.
|
|
||||||
|
Then execute `source completion.bash` to enable it in the current terminal session.
|
||||||
|
|
||||||
|
Move and rename the `completion.bash` file to `/etc/bash_completion.d/composer` to make
|
||||||
|
it load automatically in new terminals.
|
||||||
|
|
||||||
## Global Options
|
## Global Options
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue