summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_python
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_python')
-rw-r--r--Completion/Unix/Command/_python3
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_python b/Completion/Unix/Command/_python
index 6e209a199..a5d46cfd6 100644
--- a/Completion/Unix/Command/_python
+++ b/Completion/Unix/Command/_python
@@ -56,6 +56,9 @@ case "$state" in
if [[ -z "$opt_args[(I)-(c|m)]" ]]; then
shift words
(( CURRENT-- ))
+ elif [[ -n "$opt_args[(I)-m]" ]]; then
+ local ret
+ _call_function ret _python_module-$opt_args[-m] && return ret
fi
_normal && return
;;