summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-05-17 18:14:17 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-05-17 18:14:17 +0000
commite0d80b9a2ec6d4ce5773810ac6a90f6b23993c27 (patch)
tree43916d7f9a4fe73fd49f5658f6b8303588a6085e /Completion
parent071b084ea817c8e323a83d50e155c335721cd4c4 (diff)
downloadzsh-e0d80b9a2ec6d4ce5773810ac6a90f6b23993c27.tar.gz
zsh-e0d80b9a2ec6d4ce5773810ac6a90f6b23993c27.tar.xz
zsh-e0d80b9a2ec6d4ce5773810ac6a90f6b23993c27.zip
typo with compset in _lp
Diffstat (limited to 'Completion')
-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 d21f970f7..e7aebb956 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 -[dP] || [[ "$words[CURRENT-1]" = -[dP] ]]; then
+if compset -P '-[dP]' || [[ "$words[CURRENT-1]" = -[dP] ]]; then
   _printers
 else
   if [[ "$service" = (lpq|lprm) ]]; then