about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-06 00:10:03 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-06 00:10:03 +0000
commitd5c9591a2419f6805afbd9f6d93bfc654dfd92f9 (patch)
tree33343a9d75e4cd1b8ffbd6a227317ef97c3d41ec
parente4d9d1030639440d8b084991a3c4c281757e3b92 (diff)
downloadzsh-d5c9591a2419f6805afbd9f6d93bfc654dfd92f9.tar.gz
zsh-d5c9591a2419f6805afbd9f6d93bfc654dfd92f9.tar.xz
zsh-d5c9591a2419f6805afbd9f6d93bfc654dfd92f9.zip
zsh-workers/9226
-rw-r--r--Completion/User/_lp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_lp b/Completion/User/_lp
index dd7330343..b2d1803d2 100644
--- a/Completion/User/_lp
+++ b/Completion/User/_lp
@@ -15,7 +15,7 @@ if (( ! $+_lp_cache )); then
 fi
 
 if compset -P -P || [[ "$words[CURRENT-1]" = -P ]]; then
-  _wanted printers expl printer && compadd "$expl" - "$_lp_cache[@]"
+  _wanted printers expl printer && compadd "$expl[@]" - "$_lp_cache[@]"
 else
   if [[ "$words[1]" = (lpq|lprm) ]]; then
     if [[ "$words" = *-P* ]]; then