homestead: repair sed regex (#8103)

This commit is contained in:
Pavel Omelchenko 2019-08-24 01:00:08 +03:00 committed by Marc Cornellà
parent d6fc6edb29
commit 08beebd89f

View file

@ -1,6 +1,6 @@
# Homestead basic command completion
_homestead_get_command_list () {
homestead --no-ansi | sed "1,/(Available|Common) commands/d" | awk '/^ +[a-z]+/ { print $1 }'
homestead --no-ansi | sed -E "1,/(Available|Common) commands/d" | awk '/^ +[a-z]+/ { print $1 }'
}
_homestead () {