diff options
author | Paweł Lenart <pawel.lenart@xstream.net> | 2014-12-16 08:34:50 +0100 |
---|---|---|
committer | Jesse Donat <j.donat@capstonedigital.com> | 2016-07-18 14:17:43 -0500 |
commit | c51823c04eee3889a17a957790ae5bf7f07fd5eb (patch) | |
tree | ce57799a1cf2f3c6a3f46203c328c1193dc48690 /plugins/phing | |
parent | bfbfef9fcf87cfb8ecab8b3ee13a27a9f7e392ae (diff) | |
download | zsh-c51823c04eee3889a17a957790ae5bf7f07fd5eb.tar.gz zsh-c51823c04eee3889a17a957790ae5bf7f07fd5eb.tar.bz2 zsh-c51823c04eee3889a17a957790ae5bf7f07fd5eb.zip |
Remove warning lines from phing completion
Remove "Warning:" lines from phing targets list. Warning lines are
returned by phing when a target has no tasks or dependencies.
# Conflicts:
# plugins/phing/phing.plugin.zsh
Diffstat (limited to 'plugins/phing')
-rw-r--r-- | plugins/phing/phing.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/phing/phing.plugin.zsh b/plugins/phing/phing.plugin.zsh index 60f59c3b0..d5a2649bf 100644 --- a/plugins/phing/phing.plugin.zsh +++ b/plugins/phing/phing.plugin.zsh @@ -1,6 +1,6 @@ _phing () { if [ -f build.xml ]; then - compadd $(phing -l|grep -v "\[property\]"|grep -v "Buildfile"|sed 1d|grep -v ":$" |grep -v "^\-*$"|awk '{print $1}') + compadd $(phing -l|grep -v "\[property\]"|grep -v "Buildfile"|sed 1d|grep -v ":$" |grep -v "^\-*$"|grep -v "Warning:"|awk '{print $1}') fi } |