mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00

* Add $COMPLETION_MODE='menu-complete' to enablereadline menu-complete -like behavor in completion. * Tests Co-authored-by: Bob Hyman <bob.hyman@bobssoftwareworks.com>
28 lines
No EOL
730 B
ReStructuredText
28 lines
No EOL
730 B
ReStructuredText
**Added:**
|
|
|
|
* Environment variable ``$COMPLETION_MODE`` controls kind of TAB completion used with prompt-toolkit shell.
|
|
``default``, the default, retains prior Xonsh behavior: first TAB displays the common prefix of matching completions,
|
|
next TAB selects the first or next available completion.
|
|
``menu-complete`` enables TAB behavior like ``readline`` command ``menu-complete``. First TAB selects the first matching
|
|
completion, subsequent TABs cycle through available completions till the last one. Next TAB after that displays
|
|
the common prefix, then the cycle repeats.
|
|
|
|
**Changed:**
|
|
|
|
* <news item>
|
|
|
|
**Deprecated:**
|
|
|
|
* <news item>
|
|
|
|
**Removed:**
|
|
|
|
* <news item>
|
|
|
|
**Fixed:**
|
|
|
|
* <news item>
|
|
|
|
**Security:**
|
|
|
|
* <news item> |