better compopt setting for lpr(1) -o option.
This commit is contained in:
parent
2a5cb99b94
commit
07e06a9da8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user