1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 23:00:09 +00:00

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 basic command completion
_homestead_get_command_list () { _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 () { _homestead () {