1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-15 13:34:18 +01:00

49272: Set $COLUMNS in _call_program to ensure cached command output is sufficiently wide

This commit is contained in:
Marlon Richert 2021-08-10 22:02:11 +03:00 committed by Oliver Kiddle
parent 51eaf66bea
commit 1a78e46564
2 changed files with 5 additions and 0 deletions

@ -1,5 +1,9 @@
2021-08-27 Oliver Kiddle <opk@zsh.org>
* Marlon: 49272: Completion/Base/Utility/_call_program:
Set $COLUMNS in _call_program to ensure cached command
output is sufficiently wide
* unposted (based on Marlon: 49273):
Completion/Zsh/Command/_typeset: add -x to local completion

@ -1,5 +1,6 @@
#autoload +X
local -xi COLUMNS=999
local curcontext="${curcontext}" tmp err_fd=-1 clocale='_comp_locale;'
local -a prefix