mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Fix completion for Laravel 5 (previously 4.3)
Laravel changed the output out when listing commands. This change makes the `laravel4` plugin compatible with both Laravel 4 and Laravel 5.
This commit is contained in:
parent
96e4e5dd03
commit
792129d457
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Laravel4 basic command completion
|
||||
_laravel4_get_command_list () {
|
||||
php artisan --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }'
|
||||
php artisan --no-ansi | sed "1,/Available commands/d" | awk '/^ ?[a-z]+/ { print $1 }'
|
||||
}
|
||||
|
||||
_laravel4 () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue