| Server IP : 185.252.147.100 / Your IP : 216.73.217.33 Web Server : nginx/1.27.3 System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 User : mitr ( 1000) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# Debian GNU/Linux konwert completion.
# Copyright (c) 2003 Vitalij K. Lysoff <vij@ptc.spbu.ru>
have konwert &&
_konwert()
{
local cur prev special i
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]}
filters=`ls /usr/share/konwert/filters/`
#filters="$COMP_CWORD "$filters
if [[ $COMP_CWORD > 1 ]]; then
_filedir
return 0
fi
case "$prev" in
-o)
_filedir
return 0
;;
esac
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-o -O --help --version' -- $cur ) )
else
COMPREPLY=( $( compgen -W '$filters' -- $cur ) )
fi
return 0
}
[ -n "${have:-}" ] && complete -F _konwert $filenames konwert