mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
Merge f36c3f3b59 into 550ccca91c
This commit is contained in:
commit
a1e673d62c
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ _ant_does_target_list_need_generating () {
|
||||||
_ant () {
|
_ant () {
|
||||||
if [ -f build.xml ]; then
|
if [ -f build.xml ]; then
|
||||||
if _ant_does_target_list_need_generating; then
|
if _ant_does_target_list_need_generating; then
|
||||||
sed -n '/<target/s/<target.*name="\([^"]*\).*$/\1/p' build.xml > .ant_targets
|
ant -p | grep \^" " | cut -f2 -d" " > .ant_targets
|
||||||
fi
|
fi
|
||||||
compadd `cat .ant_targets`
|
compadd `cat .ant_targets`
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue