about summary refs log tree commit diff
path: root/Completion/User/_lp
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_lp')
-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