The following commit has been merged in the master branch:
commit 6ea5b13d4d16bf2f06cecda8a5acfaa49e92b147
Author: Ville Skyttä <[email protected]>
Date: Wed Apr 20 22:06:56 2011 +0300
Localize $classpath in _java_find_sourcepath so completions don't have to.
diff --git a/completions/java b/completions/java
index 87bfb29..2d82f6c 100644
--- a/completions/java
+++ b/completions/java
@@ -44,6 +44,7 @@ _java_find_sourcepath()
# default to classpath
if [ -z "$sourcepath" ]; then
+ local classpath
_java_find_classpath
sourcepath=$classpath
fi
@@ -242,7 +243,7 @@ have javadoc &&
_javadoc()
{
COMPREPLY=()
- local cur prev classpath
+ local cur prev
_get_comp_words_by_ref cur prev
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits