Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

qbbr/symfony-bash-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

19 Commits

Repository files navigation

Symfony and other bros console bash autocomplete

Supports

Requirements

bash-completion must be installed.

apt install bash-completion

Installation

make install

Add the following line to your ~/.bashrc:

# enable programmable completion features
if ! shopt -oq posix; then
 if [ -f /usr/share/bash-completion/bash_completion ]; then
 . /usr/share/bash-completion/bash_completion
 elif [ -f /etc/bash_completion ]; then
 . /etc/bash_completion
 fi
fi

Uninstall

make uninstall

Usage

Restart your bash and you should be able to autocomplete commands in a Symfony project console:

./bin/console [TAB]
console [TAB]
symfony [TAB]
./bin/security-checker
./bin/php-cs-fixer [TAB]
php-cs-fixer [TAB]
composer [TAB]
composer.phar [TAB]
deployer [TAB]
deployer.phar [TAB]
./artisan [TAB]

About

Symfony and other bros console bash autocomplete

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /