Indentation fixes.
This commit is contained in:
parent
96908c87f1
commit
7df38d3c5d
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user