X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/10cf60790cf2430aba9f7e7120ccd414959e4f81..b55d69396b587288c7e654035190d9e62fa70b71:/zsh/plugins/phing/phing.plugin.zsh diff --git a/zsh/plugins/phing/phing.plugin.zsh b/zsh/plugins/phing/phing.plugin.zsh deleted file mode 100644 index 8f4adca..0000000 --- a/zsh/plugins/phing/phing.plugin.zsh +++ /dev/null @@ -1,19 +0,0 @@ -_phing_does_target_list_need_generating () { - if [ ! -f .phing_targets ]; then return 0; - else - accurate=$(stat -f%m .phing_targets) - changed=$(stat -f%m build.xml) - return $(expr $accurate '>=' $changed) - fi -} - -_phing () { - if [ -f build.xml ]; then - if _phing_does_target_list_need_generating; then - phing -l |grep -v ":" |grep -v "^$"|grep -v "\-" > .phing_targets - fi - compadd `cat .phing_targets` - fi -} - -compdef _phing phing