Browse Source

Intermediate changes

robot-piglet 1 year ago
parent
commit
9e68d5a3e3

+ 1 - 1
contrib/python/argcomplete/py3/.dist-info/METADATA

@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Metadata-Version: 2.1
 Name: argcomplete
 Name: argcomplete
-Version: 3.1.3
+Version: 3.1.4
 Summary: Bash tab completion for argparse
 Summary: Bash tab completion for argparse
 Home-page: https://github.com/kislyuk/argcomplete
 Home-page: https://github.com/kislyuk/argcomplete
 Author: Andrey Kislyuk
 Author: Andrey Kislyuk

+ 3 - 1
contrib/python/argcomplete/py3/argcomplete/bash_completion.d/_python-argcomplete

@@ -138,8 +138,10 @@ _python_argcomplete_global() {
         req_argv=( "" "${COMP_WORDS[@]:1}" )
         req_argv=( "" "${COMP_WORDS[@]:1}" )
         __python_argcomplete_expand_tilde_by_ref executable
         __python_argcomplete_expand_tilde_by_ref executable
     else
     else
-        # TODO: check if we should call _default or use a different condition here
         if [[ "$service" != "-default-" ]]; then
         if [[ "$service" != "-default-" ]]; then
+            # TODO: this may not be sufficient - see https://zsh.sourceforge.io/Doc/Release/Completion-System.html
+            # May need to call _complete with avoid-completer=_python-argcomplete or something like that
+            _default
             return
             return
         fi
         fi
         executable="${words[1]}"
         executable="${words[1]}"

+ 1 - 1
contrib/python/argcomplete/py3/ya.make

@@ -2,7 +2,7 @@
 
 
 PY3_LIBRARY()
 PY3_LIBRARY()
 
 
-VERSION(3.1.3)
+VERSION(3.1.4)
 
 
 LICENSE(Apache-2.0)
 LICENSE(Apache-2.0)