about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-24 13:34:17 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-24 13:34:17 +0000
commit6e26b4c8b8e4701bd930d204245c6fcb2a7da6b6 (patch)
tree4776a99fdcefe8af11bbe15e9daf2ec0e6f4be7a
parente3e5f4d61c610dea3862c998db3394ece64aced0 (diff)
downloadzsh-6e26b4c8b8e4701bd930d204245c6fcb2a7da6b6.tar.gz
zsh-6e26b4c8b8e4701bd930d204245c6fcb2a7da6b6.tar.xz
zsh-6e26b4c8b8e4701bd930d204245c6fcb2a7da6b6.zip
zsh-workers/10234
-rw-r--r--Completion/X/_xwit4
1 files 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' \
     \) \