| Server IP : 159.253.20.91 / Your IP : 216.73.216.111 Web Server : nginx/1.20.2 System : Linux se38c9e53.fastvps-server.com 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 User : pr11_ru_usr ( 1041) PHP Version : 8.1.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# locale-gen(8) completion -*- shell-script -*-
_locale_gen()
{
local cur prev words cword split
_init_completion -s || return
case $prev in
--help | -h)
return
;;
--aliases)
_filedir alias
return
;;
esac
$split && return
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
return
fi
COMPREPLY=($(compgen -W \
'$(awk "{ print \$1 }" /usr/share/i18n/SUPPORTED 2>/dev/null)' \
-- "$cur"))
} &&
complete -F _locale_gen locale-gen
# ex: filetype=sh