mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 23:00:30 +08:00
homestead: repair sed regex (#8103)
This commit is contained in:
parent
d6fc6edb29
commit
08beebd89f
@ -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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user