summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_python
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2003-02-27 05:12:25 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2003-02-27 05:12:25 +0000
commite4443a2d4f8e591c54e4384f5db42835ad7a0065 (patch)
tree637440c9e3ecebf8be5c64320aa876704b702b90 /Completion/Unix/Command/_python
parent18306: fix redisplay of rprompt when line shortens (diff)
downloadzsh-e4443a2d4f8e591c54e4384f5db42835ad7a0065.tar
zsh-e4443a2d4f8e591c54e4384f5db42835ad7a0065.tar.gz
zsh-e4443a2d4f8e591c54e4384f5db42835ad7a0065.tar.bz2
zsh-e4443a2d4f8e591c54e4384f5db42835ad7a0065.tar.lz
zsh-e4443a2d4f8e591c54e4384f5db42835ad7a0065.tar.xz
zsh-e4443a2d4f8e591c54e4384f5db42835ad7a0065.tar.zst
zsh-e4443a2d4f8e591c54e4384f5db42835ad7a0065.zip
18305: new completion for python
Diffstat (limited to 'Completion/Unix/Command/_python')
-rw-r--r--Completion/Unix/Command/_python26
1 files changed, 26 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_python b/Completion/Unix/Command/_python
new file mode 100644
index 000000000..08d2f3887
--- /dev/null
+++ b/Completion/Unix/Command/_python
@@ -0,0 +1,26 @@
+#compdef python
+
+# Python 2.2.2
+
+_arguments -s -S \
+ '(1 -)-c+[program passed in as string (terminates option list)]:python command:' \
+ '-d[debug output from parser (also PYTHONDEBUG=x)]' \
+ '-E[ignore environment variables (such as PYTHONPATH)]' \
+ '(1 * -)-h[print this help message and exit]' \
+ '-i[inspect interactively after running script (also PYTHONINSPECT=x)]' \
+ '-O[optimize generated bytecode (a tad; also PYTHONOPTIMIZE=x)]' \