[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-99-ge3ca91b
Ville Skyttä
ville.skytta at iki.fi
Wed Apr 20 20:13:47 UTC 2011
The following commit has been merged in the master branch:
commit 6ea5b13d4d16bf2f06cecda8a5acfaa49e92b147
Author: Ville Skyttä <ville.skytta at iki.fi>
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
More information about the Bash-completion-commits
mailing list