about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-05-08 11:48:12 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-05-08 11:48:12 +0000
commit4c81ef8686e9cfe761269fd6508a74f1dda1b939 (patch)
tree5630c203087f71a74ee2d54648376429b050198a /Completion/X
parent8ff0785863b5875fc10321b7da02a2ad3e7b76eb (diff)
downloadzsh-4c81ef8686e9cfe761269fd6508a74f1dda1b939.tar.gz
zsh-4c81ef8686e9cfe761269fd6508a74f1dda1b939.tar.xz
zsh-4c81ef8686e9cfe761269fd6508a74f1dda1b939.zip
fix guard to accept partial display numbers (14255)
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/_vnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/X/Command/_vnc b/Completion/X/Command/_vnc
index 094fa0d9e..cd619c6f0 100644
--- a/Completion/X/Command/_vnc
+++ b/Completion/X/Command/_vnc
@@ -13,7 +13,7 @@ case $service in
 	'-geometry:geometry:(1600x1200 1280x1024 1152x864 1024x768 800x600 640x480)' \
 	'-depth:pixel depth:(8 16 24 32)' \
 	'-pixelformat:pixel format' \
-	'1::display number:_guard ":[0-9]#"' \
+	'1::display number:_guard "(|:[0-9]#)"' \
       - kill \
 	"-kill:display number:($displays)" \
       - help \