about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2005-07-15 11:51:53 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2005-07-15 11:51:53 +0000
commit2f51268ee6531d8844dcbe431c71626ade7ce8b1 (patch)
tree1d2722455e93880c22c6a48982990013d73732e7 /Completion
parentb2cfbabced50d9c4b936006fbba58a227987490c (diff)
downloadzsh-2f51268ee6531d8844dcbe431c71626ade7ce8b1.tar.gz
zsh-2f51268ee6531d8844dcbe431c71626ade7ce8b1.tar.xz
zsh-2f51268ee6531d8844dcbe431c71626ade7ce8b1.zip
unposted: add missing -C option to _arguments in _python
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_python4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_python b/Completion/Unix/Command/_python
index dc399b789..a430bcf4d 100644
--- a/Completion/Unix/Command/_python
+++ b/Completion/Unix/Command/_python
@@ -5,7 +5,7 @@
 local curcontext="$curcontext" state line expl
 typeset -A opt_args
 
-_arguments -s -S \
+_arguments -C -s -S \
   '(1 -)-c+[program passed in as string (terminates option list)]:python command:' \
   '-d[debug output from parser]' \
   '-E[ignore environment variables (such as PYTHONPATH)]' \
@@ -24,7 +24,7 @@ _arguments -s -S \
   '-W+[warning control]:warning filter (action:message:category:module:lineno):(default always ignore module once error)' \
   '-x[skip first line of source, allowing use of non-Unix forms of #!cmd]' \
   '(-)1:script file:_files -g "*.py(|c|o)(-.)"' \
-  '*:script argument:_files' && return
+  '*::script argument: _normal' && return
 
 if [[ "$state" = modules ]]; then
   local -a modules