summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Omelchenko <p.Omelchenko@gmail.com>2019-08-22 12:00:31 +0300
committerPavel Omelchenko <p.Omelchenko@gmail.com>2019-08-22 12:00:31 +0300
commit246e7832ef6f4b77ae998508d0ba90c82961fd0a (patch)
treeafc3ff9a2110f96a6854128f52518b00892edcf3
parent783dd1504f99bd34aedd1d4a68ae6f14e38606da (diff)
downloadzsh-246e7832ef6f4b77ae998508d0ba90c82961fd0a.tar.gz
zsh-246e7832ef6f4b77ae998508d0ba90c82961fd0a.tar.bz2
zsh-246e7832ef6f4b77ae998508d0ba90c82961fd0a.zip
feature: add condition for regular expression
-rw-r--r--plugins/homestead/homestead.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/homestead/homestead.plugin.zsh b/plugins/homestead/homestead.plugin.zsh
index f67a582f4..b9940dbcf 100644
--- a/plugins/homestead/homestead.plugin.zsh
+++ b/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 () {