Skip to content

janka/artisanBashCompletion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

This project is abandoned!

Please feel free to steal it...

Ongoing work seems to be done here: https://github.com/argakiig/artisanBashCompletion

artisanBashCompletion

This adds bash completion for Laravel 4s artisan CLI.

  • Put "listForBash.php" in app/commands/ and register it in app/start/artisan.php with Artisan::add(new listForBash);

  • Make artisan executable with chmod +x artisan

  • Create an alias for the php artisan command with the likes of echo 'alias artisan="php artisan"' >> .bash_profile

  • Put the file "artisan" in /etc/bash_completion.d/ and remember to source it with . /etc/bash_completion.d/artisan (or source every completion script with . /etc/bash_completion) if it does not happen already on your system.

Now use artisan and start tabbing away...

Tested on Debian and php 5.4 (I fancy the new array style, but replace that and it should work with prior versions)

Have fun...

About

Bash completion for Laravel 4 artisan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages