about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
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 \