From 9d20469c030ead700959fa3b95d7bc85bb9578a8 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Wed, 8 Sep 2021 09:51:43 +0900 Subject: 49377: fix segfault by 'bindkey -d' with reordered keymapnamtab (cherry picked from commit 2a7945a900c8a1b1866ad31ee5e95db5b0ddb50a) --- Test/X03zlebindkey.ztst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Test') diff --git a/Test/X03zlebindkey.ztst b/Test/X03zlebindkey.ztst index 298d7df5d..e5aac7379 100644 --- a/Test/X03zlebindkey.ztst +++ b/Test/X03zlebindkey.ztst @@ -143,3 +143,18 @@ >CURSOR: 18 >BUFFER: echo $(( ##x ) ##x ) y >CURSOR: 22 + + bindkey -d + for name in a b c d e; bindkey -N $name + bindkey -d + bindkey -l +0:delete all keymaps after expanding keymapnamtab +>.safe +>command +>emacs +>isearch +>main +>vicmd +>viins +>viopp +>visual -- cgit 1.4.1