Browse Source

feature: add condition for regular expression

Pavel Omelchenko 4 years ago
parent
commit
246e7832ef
1 changed files with 1 additions and 1 deletions
  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,/Common commands/d" | awk '/^ +[a-z]+/ { print $1 }'
+  homestead --no-ansi | sed "1,/(Available|Common) commands/d" | awk '/^ +[a-z]+/ { print $1 }'
 }
 
 _homestead () {