0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
ohmyzsh/plugins/phing/phing.plugin.zsh

8 lines
209 B
Bash
Raw Permalink Normal View History

2010-11-09 14:56:26 +01: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}')
2010-11-09 14:56:26 +01:00
fi
}
compdef _phing phing