浏览代码

homestead: repair sed regex (#8103)

Pavel Omelchenko 4 年之前
父节点
当前提交
08beebd89f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/homestead/homestead.plugin.zsh

+ 1 - 1
plugins/homestead/homestead.plugin.zsh

@@ -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 () {