Browse Source

Enhanced Laravel 5 Plugin (#6376)

Sebastian Schlein 6 years ago
parent
commit
fb1227088d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/laravel5/laravel5.plugin.zsh

+ 1 - 1
plugins/laravel5/laravel5.plugin.zsh

@@ -1,6 +1,6 @@
 # Laravel5 basic command completion
 _laravel5_get_command_list () {
-	php artisan --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z]+/ { print $1 }'
+	php artisan --raw --no-ansi list | sed "s/[[:space:]].*//g"
 }
 
 _laravel5 () {