The following commit has been merged in the master branch:
commit 8ec55193de633332cfe66efaae8d1a33ab2bde31
Author: Ville Skyttä <[email protected]>
Date: Wed Sep 21 21:23:20 2011 +0300
ant: Don't use complete-ant-cmd.pl unless it's in default $PATH.
diff --git a/completions/ant b/completions/ant
index 80f8de6..4ba13ab 100644
--- a/completions/ant
+++ b/completions/ant
@@ -59,7 +59,7 @@ _ant()
COMPREPLY=( $( compgen -W '$targets' -- "$cur" ) )
fi
} &&
-have ant && { have complete-ant-cmd.pl && \
+have ant && { type complete-ant-cmd.pl &>/dev/null && \
complete -C complete-ant-cmd.pl -F _ant ant || complete -F _ant ant; }
have phing && complete -F _ant phing
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits