oh-my-zsh/plugins/phing/phing.plugin.zsh
2016-07-15 14:30:09 -05:00

8 lines
190 B
Bash

_phing () {
if [ -f build.xml ]; then
compadd $(phing -l|grep -v "\[property\]"|grep -v "Buildfile"|sed 1d|grep -v ":$" |grep -v "^\-*$"|awk '{print $1}')
fi
}
compdef _phing phing