You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config.md
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -348,3 +348,78 @@ docker run -v $PWD:/app/public \
348
348
-p 80:80 -p 443:443 -p 443:443/udp \
349
349
dunglas/frankenphp
350
350
```
351
+
352
+
## Shell Completion
353
+
354
+
FrankenPHP provides built-in shell completion support for Bash, Zsh, Fish, and PowerShell. This enables autocompletion for all commands (including custom commands like `php-server`, `php-cli`, and `extension-init`) and their flags.
355
+
356
+
### Bash
357
+
358
+
To load completions in your current shell session:
Copy file name to clipboardExpand all lines: docs/fr/config.md
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -342,3 +342,78 @@ docker run -v $PWD:/app/public \
342
342
-p 80:80 -p 443:443 -p 443:443/udp \
343
343
dunglas/frankenphp
344
344
```
345
+
346
+
## Autocomplétion Shell
347
+
348
+
FrankenPHP fournit un support d'autocomplétion intégré pour Bash, Zsh, Fish et PowerShell. Cela permet l'autocomplétion de toutes les commandes (y compris les commandes personnalisées comme `php-server`, `php-cli` et `extension-init`) ainsi que leurs options.
349
+
350
+
### Bash
351
+
352
+
Pour charger l'autocomplétion dans votre session shell actuelle :
353
+
354
+
```console
355
+
source <(frankenphp completion bash)
356
+
```
357
+
358
+
Pour charger l'autocomplétion à chaque nouvelle session, exécutez :
0 commit comments