- properly skip classpath string in Java completion

This commit is contained in:
ianmacd 2003-09-10 22:21:25 +00:00
parent 211fe940b6
commit 87dc4a5df1

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05b
#
# $Id: bash_completion,v 1.618 2003/08/22 07:12:51 ianmacd Exp $
# $Id: bash_completion,v 1.619 2003/09/11 00:21:25 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -3438,7 +3438,7 @@ _java()
for ((i=1; i < $COMP_CWORD; i++)); do
case ${COMP_WORDS[$i]} in
-cp|-classpath)
continue # skip the classpath string.
break # skip the classpath string.
;;
-*)
# this is an option, not a class/jarfile name.