[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 050fb91d40ea0cdc84b3118d9f26f93cadfa21c3

Ville Skyttä ville.skytta at iki.fi
Sat Jan 30 10:27:18 UTC 2010


The following commit has been merged in the master branch:
commit f62a4ad7b2dee45e39323a89dfaa099db2e272fe
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jan 30 12:22:33 2010 +0200

    Indentation fixes.

diff --git a/contrib/java b/contrib/java
index 426be1d..cbd29f1 100644
--- a/contrib/java
+++ b/contrib/java
@@ -128,16 +128,16 @@ _java()
     for ((i=1; i < $COMP_CWORD; i++)); do
         case ${COMP_WORDS[$i]} in
             -cp|-classpath)
-            ((i++)) # skip the classpath string.
-            ;;
+                ((i++)) # skip the classpath string.
+                ;;
             -*)
-            # this is an option, not a class/jarfile name.
-            ;;
+                # this is an option, not a class/jarfile name.
+                ;;
             *)
-            # once we've seen a class, just do filename completion
-            _filedir
-            return 0
-            ;;
+                # once we've seen a class, just do filename completion
+                _filedir
+                return 0
+                ;;
         esac
     done
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list