diff --git a/src/_artisan b/src/_artisan index 6e55d31..bbb72f8 100644 --- a/src/_artisan +++ b/src/_artisan @@ -40,7 +40,7 @@ _artisan_get_command_list () { - php artisan | sed "1,/Available commands/d" | awk '/ [a-z]+/ { print $1 }' + php artisan --no-ansi | sed "1,/Available commands/d" | awk '/ [a-z]+/ { print $1 }' } _artisan () { diff --git a/src/_console b/src/_console index c74ed95..fc2a6f0 100644 --- a/src/_console +++ b/src/_console @@ -40,7 +40,7 @@ _console_get_command_list () { - php console | sed "1,/Available commands/d" | awk '/ [a-z]+/ { print $1 }' + php console --no-ansi | sed "1,/Available commands/d" | awk '/ [a-z]+/ { print $1 }' } _console () {