Indentation fixes.

This commit is contained in:
Ville Skyttä 2010-11-21 20:00:34 +02:00
parent 96908c87f1
commit 7df38d3c5d

View File

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