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