diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2001-05-08 11:48:12 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2001-05-08 11:48:12 +0000 |
commit | 4c81ef8686e9cfe761269fd6508a74f1dda1b939 (patch) | |
tree | 5630c203087f71a74ee2d54648376429b050198a | |
parent | 8ff0785863b5875fc10321b7da02a2ad3e7b76eb (diff) | |
download | zsh-4c81ef8686e9cfe761269fd6508a74f1dda1b939.tar.gz zsh-4c81ef8686e9cfe761269fd6508a74f1dda1b939.tar.xz zsh-4c81ef8686e9cfe761269fd6508a74f1dda1b939.zip |
fix guard to accept partial display numbers (14255)
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Completion/X/Command/_vnc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 78e378a27..094f5c147 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ + * 14255: Completion/X/Command/_vnc: fix guard for display numbers + 2001-05-08 Peter Stephenson <pws@csr.com> * Andrej: 14248: Src/Modules/zpty.c, Test/comptest: don't use 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 \ |