dotfiles/zsh/.oh-my-zsh_old/plugins/phing/phing.plugin.zsh
2020-03-09 15:32:52 +01:00

8 lines
209 B
Bash

_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