Commit c51823c0 authored by Paweł Lenart's avatar Paweł Lenart Committed by Jesse Donat
Browse files

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
parent bfbfef9f
_phing () { _phing () {
if [ -f build.xml ]; then 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 fi
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment