diff options
Diffstat (limited to 'completions/python')
-rw-r--r-- | completions/python | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/python b/completions/python index 758b44ef..f8ef6d0c 100644 --- a/completions/python +++ b/completions/python @@ -3,8 +3,8 @@ _python_modules() { COMPREPLY+=( $( compgen -W \ - "$( ${1:-python} ${BASH_SOURCE[0]%/*}/../helpers/python 2>/dev/null )" \ - -- "$cur" ) ) + "$( ${1:-python} ${BASH_SOURCE[0]%/*}/../helpers/python $cur \ + 2>/dev/null )" -- "$cur" ) ) } _python() |