phing.plugin.zsh 209 B

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