On zsh, argcomplete falls back to default completer for a command line like:
~/path/to/script.py --beginning-
This seems to be because in _python_argcomplete_global the tilde is not expanded to the absolute path of the home directory for zsh, unlike bash.
The following fixed the problem for me:
On zsh, argcomplete falls back to default completer for a command line like:
This seems to be because in
_python_argcomplete_global
the tilde is not expanded to the absolute path of the home directory for zsh, unlike bash. The following fixed the problem for me:Tested on MacOS Sonoma 14.2.1, Zsh 5.9 (homebrew), argcomplete 3.2.1