summaryrefslogtreecommitdiff
path: root/completions/ant
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-04-04 22:14:39 +0300
committerVille Skyttä <ville.skytta@iki.fi>2011-04-04 23:48:22 +0300
commit94c51fc36ef7750e3b84632fc2ed7f032c51bef6 (patch)
tree770dda3be8e701c58d8b55d185279b391bb316b0 /completions/ant
parentf7c93600a6e2b0ba2586ebc74705e97c1e8d983c (diff)
downloadbash-completion-94c51fc36ef7750e3b84632fc2ed7f032c51bef6.tar.gz
Coding style consistency tweaks.
Diffstat (limited to 'completions/ant')
-rw-r--r--completions/ant2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/ant b/completions/ant
index 132c4390..c406c015 100644
--- a/completions/ant
+++ b/completions/ant
@@ -56,7 +56,7 @@ _ant()
sed -ne 's/.*<target .*name="\([^"]*\).*/\1/p' 2>/dev/null )" \
-- "$cur" ) )
fi
-}
+} &&
have complete-ant-cmd.pl && \
complete -C complete-ant-cmd.pl -F _ant ant || complete -F _ant ant
}