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

Ville Skyttä ville.skytta at iki.fi
Sun Nov 21 18:38:00 UTC 2010


The following commit has been merged in the master branch:
commit 7df38d3c5dc5848b50de8538fe6b70a2d35fa2ce
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Nov 21 20:00:34 2010 +0200

    Indentation fixes.

diff --git a/completions/python b/completions/python
index 54a99da..449bcef 100644
--- a/completions/python
+++ b/completions/python
@@ -9,22 +9,22 @@ _python()
     _get_comp_words_by_ref cur prev
 
     case $prev in
-    -Q)
-        COMPREPLY=( $( compgen -W "old new warn warnall" -- "$cur" ) )
-        return 0
-        ;;
-    -W)
-        COMPREPLY=( $( compgen -W "ignore default all module once error" \
-            -- "$cur" ) )
-        return 0
-        ;;
-    -c)
-        _filedir '@(py|pyc|pyo)'
-        return 0
-        ;;
-    !(python|-?))
-        [[ ${COMP_WORDS[COMP_CWORD-2]} != -@(Q|W) ]] && _filedir
-        ;;
+        -Q)
+            COMPREPLY=( $( compgen -W "old new warn warnall" -- "$cur" ) )
+            return 0
+            ;;
+        -W)
+            COMPREPLY=( $( compgen -W "ignore default all module once error" \
+                -- "$cur" ) )
+            return 0
+            ;;
+        -c)
+            _filedir '@(py|pyc|pyo)'
+            return 0
+            ;;
+        !(python|-?))
+            [[ ${COMP_WORDS[COMP_CWORD-2]} != -@(Q|W) ]] && _filedir
+            ;;
     esac
 
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list