- Java classpath string was not being skipped
This commit is contained in:
parent
649aa46db4
commit
d25da79863
@ -1,6 +1,6 @@
|
|||||||
# bash_completion - some programmable completion functions for bash 2.05b
|
# bash_completion - some programmable completion functions for bash 2.05b
|
||||||
#
|
#
|
||||||
# $Id: bash_completion,v 1.493 2002/12/21 06:47:34 ianmacd Exp $
|
# $Id: bash_completion,v 1.494 2002/12/22 18:29:34 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -3131,7 +3131,7 @@ _java()
|
|||||||
for ((i=1; i < $COMP_CWORD; i++)); do
|
for ((i=1; i < $COMP_CWORD; i++)); do
|
||||||
case ${COMP_WORDS[$i]} in
|
case ${COMP_WORDS[$i]} in
|
||||||
-cp|-classpath)
|
-cp|-classpath)
|
||||||
i++ # skip the classpath string.
|
continue # skip the classpath string.
|
||||||
;;
|
;;
|
||||||
-*)
|
-*)
|
||||||
# this is an option, not a class/jarfile name.
|
# this is an option, not a class/jarfile name.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user