From 07e06a9da83e7dd3a8b8d0d3b1184b64ade3f4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Droz?= Date: Mon, 13 Jun 2011 13:31:33 +0200 Subject: [PATCH] better compopt setting for lpr(1) -o option. --- completions/cups | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/cups b/completions/cups index b37e4005..6618965b 100644 --- a/completions/cups +++ b/completions/cups @@ -26,8 +26,8 @@ _lpr() return 0 ;; -o) - compopt -o nospace COMPREPLY=( $( compgen -W "media= landscape orientation-requested= sides= fitplot number-up= scaling= cpi= lpi= page-bottom= page-top= page-left= page-right=" -- "$cur" ) ) + [[ $COMPREPLY == *= ]] && compopt -o nospace return 0 ;; esac