phing.plugin.zsh 190 Bytes
Newer Older
Claus Witt's avatar
Claus Witt committed
1
2
_phing () {
  if [ -f build.xml ]; then
Jesse Donat's avatar
Jesse Donat committed
3
    compadd $(phing -l|grep -v "\[property\]"|grep -v "Buildfile"|sed 1d|grep -v ":$" |grep -v "^\-*$"|awk '{print $1}')
Claus Witt's avatar
Claus Witt committed
4
5
6
7
  fi
}

compdef _phing phing