feature: add condition for regular expression

This commit is contained in:
Pavel Omelchenko 2019-08-22 12:00:31 +03:00
parent 783dd1504f
commit 246e7832ef
No known key found for this signature in database
GPG key ID: 7E60E577B513BBC9

View file

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