homestead: change key string for getting command list (#8008)

This commit is contained in:
Marc Cornellà 2019-08-23 13:37:28 +02:00 committed by GitHub
commit 3e0e9136cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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