1
0
Fork 0

Add bash completions to docs

pull/10320/head
Jordi Boggiano 2022-05-13 13:58:02 +02:00
parent eac83aad5c
commit d99e059aa3
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ php composer.phar dump
``` ```
calls `composer dump-autoload`. calls `composer dump-autoload`.
## Bash Completions
To install bash completions you can run `composer completion bash > completion.bash` (put the file
in /etc/bash_completion.d/composer to make it load automatically in new terminals) and then
`source completion.bash` to enable it in the current terminal session.
## Global Options ## Global Options
The following options are available with every command: The following options are available with every command: