Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages