Skip to content
Myr

allow zsh to escape completion values

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Timur · committed by David Lord · parent 29e7de5 · Browse files · 2 files+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−2 removed

  • other:+3 added−2 removed

2 files+3 added−2 removed

modified:click/_bashcomplete.py+2 added-2 removed
59 unmodified lines
60 fi61 done6263 if [ -n "$completions_with_descriptions" ]; then64 _describe -V unsorted completions_with_descriptions -U -Q64 _describe -V unsorted completions_with_descriptions -U65 fi6667 if [ -n "$completions" ]; then68 compadd -U -V unsorted -Q -a completions68 compadd -U -V unsorted -a completions69 fi70 compstate[insert]="automenu"71}72
227 unmodified lines
modified:CHANGES.rst+1 added
60 unmodified lines
61- Add a repr to ``Command``, ``Group``, ``Option``, and ``Argument``,62 showing the name for friendlier debugging. :issue:`1267`63- Completion doesn't consider option names if a value starts with64 ``-`` after the ``--`` separator. :issue:`1247`65- ZSH Completion escapes special characters in values. :pr:`1418`666768Version 7.069-----------
540 unmodified lines