From 6e26b4c8b8e4701bd930d204245c6fcb2a7da6b6 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 24 Mar 2000 13:34:17 +0000 Subject: zsh-workers/10234 --- Completion/X/_xwit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Completion/X/_xwit b/Completion/X/_xwit index 8c988721d..b017ca3c9 100644 --- a/Completion/X/_xwit +++ b/Completion/X/_xwit @@ -39,8 +39,8 @@ _regex_arguments _xwit_parse \ \| "/iconmove$nul/" "$guard" "/$word/" ":_message x" "/$word/" ":_message y" \ \| "/id$nul/" "$guard" "/$word/" ":_x_window" \ \| "/(no|)keyrepeat$nul/" "$guard" \ - \( "/[0-9]##$nul/" ":_message keycode" \ - \( "/-$nul/" "/[0-9]##$nul/" ":_message 'last keycode'" \| \) \) \# \ + \( "/[0-9]##$nul/" ":[[ -prefix [0-9]## ]] && _message keycode" \ + \( "/-$nul/" "/[0-9]##$nul/" ":[[ -prefix [0-9]## ]] && _message 'last keycode'" \| \) \) \# \ \| "/names$nul/" "$guard" "/$word/" ":_x_window -n" \# \ \| "/[]/" ':_xwit_compopts' \ \) \ -- cgit 1.4.1