about summary refs log tree commit diff
path: root/Completion/Unix/Command/_lp
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-05-03 13:05:48 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-05-03 13:05:48 +0000
commit36546001bd7960319d39937050739d2269da5f20 (patch)
treeea943846f29bf35bb901bf93c281d15bf4f70842 /Completion/Unix/Command/_lp
parent1e79a3424fa4e84da07d3df53e614a1a297d833f (diff)
downloadzsh-36546001bd7960319d39937050739d2269da5f20.tar.gz
zsh-36546001bd7960319d39937050739d2269da5f20.tar.xz
zsh-36546001bd7960319d39937050739d2269da5f20.zip
minor completion changes (14216)
Diffstat (limited to 'Completion/Unix/Command/_lp')
-rw-r--r--Completion/Unix/Command/_lp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_lp b/Completion/Unix/Command/_lp
index 49f9b6cf6..d21f970f7 100644
--- a/Completion/Unix/Command/_lp
+++ b/Completion/Unix/Command/_lp
@@ -2,7 +2,7 @@
 
 local expl ret=1 printer list disp strs shown
 
-if compset -P -P || [[ "$words[CURRENT-1]" = -P ]]; then
+if compset -P -[dP] || [[ "$words[CURRENT-1]" = -[dP] ]]; then
   _printers
 else
   if [[ "$service" = (lpq|lprm) ]]; then