From c7f4634549697a65af0dc82e97e8b066bfb81f6c Mon Sep 17 00:00:00 2001 From: Marlon Richert Date: Fri, 12 Nov 2021 21:52:18 +0200 Subject: 49572: Let _expand preserve array form w/out zstyle glob --- Test/Y01completion.ztst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Test') diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst index 882a0adc4..6af0efc6d 100644 --- a/Test/Y01completion.ztst +++ b/Test/Y01completion.ztst @@ -62,6 +62,17 @@ >line: {: dir1 dir2 file1 file2 }{} >line: {: *}{} + comptesteval $'zstyle \'*\' glob no' + comptesteval $'typeset -g tst=(*)' + comptest $': $tst\C-D' +0:_expand preserves array form +>DESCRIPTION:{expansions} +>NO:{dir1} +>NO:{dir2} +>NO:{file1} +>NO:{file2} + + comptesteval $'zstyle -d \'*\' glob' comptesteval '_users () { compadd user1 user2 }' comptest $': ~\t\t\t\t\t' 0:tilde -- cgit 1.4.1