better compopt setting for lpr(1) -o option.

This commit is contained in:
Raphaël Droz 2011-06-13 13:31:33 +02:00 committed by Ville Skyttä
parent 2a5cb99b94
commit 07e06a9da8

View File

@ -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