~ K A L I ~
UNAME : Linux web64.extendcp.co.uk 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64SERVER IP : 10.0.187.64 -________-
CLIENT IP : 216.73.216.230 MINI SHELL D ZAB '
Current File : //usr/share/bash-completion/completions/lpr |
# lpr(1) completion -*- shell-script -*-
_lpr()
{
local cur prev words cword
_init_completion || return
case $prev in
-P)
COMPREPLY=( $( compgen -W "$( lpstat -a 2>/dev/null | cut -d' ' -f1 )" -- "$cur" ) )
return
;;
-U)
COMPREPLY=( $( compgen -u -- "$cur" ) )
return
;;
-o)
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
;;
esac
if [[ "$cur" == - ]]; then
COMPREPLY=( $( compgen -W '-E -H -C -J -T -P -U -h -l -m -o -p -q -r' -- "$cur" ) )
return
fi
_filedir
} &&
complete -F _lpr lpr
# ex: filetype=sh
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com