You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fresh install using curl as directed from installation.
Installation works as expected, completions are generated as specified for zsh. Completions also generate to file as expected .
Actual behavior
Completions fail with attempted use:
pdm zsh: *:: :->_subcmds: command not found...
Expected behavior
Zsh completions should work.
Environment Information
Fedora 40.
Zsh shell.
Fix
Upon completion definition inspection a backslash is missing from the generated completions on the output of pdm completion zsh > ~/.zfunc/_pdm
Line 54 below in _pdm.
7 _arguments -s -C -A '-*' \
6 $arguments \
5 {-c,--config}'[Specify another config file path\[env var: PDM_CONFIG_FILE\]]' \
4 {-V,--version}'[Show the version and exit]' \
3 {-I,--ignore-python}'[Ignore the Python path saved in .pdm-python]' \
2 '--no-cache:Disable the cache for the current command. [env var: PDM_NO_CACHE]' \
1 '--pep582:Print the command line to be eval by the shell for PEP 582:shell:(zsh bash fish tcsh csh)' \
54 {-n,--non-interactive}"[Don't show interactive prompts but use defaults. \[env var: PDM_NON_INTERACTIVE\]]"
1 '*:: :->_subcmds' \
2 && return 0
The text was updated successfully, but these errors were encountered:
Steps to reproduce
PDM, version 2.17.0
Fresh install using curl as directed from installation.
Installation works as expected, completions are generated as specified for zsh. Completions also generate to file as expected .
Actual behavior
Completions fail with attempted use:
pdm zsh: *:: :->_subcmds: command not found...
Expected behavior
Zsh completions should work.
Environment Information
Fedora 40.
Zsh shell.
Fix
Upon completion definition inspection a backslash is missing from the generated completions on the output of
pdm completion zsh > ~/.zfunc/_pdm
Line 54 below in
_pdm
.The text was updated successfully, but these errors were encountered: