conf2/zsh/.oh-my-zsh/plugins/phing/phing.plugin.zsh

8 lines
209 B
Bash
Raw Permalink Normal View History

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