| Server IP : 162.214.67.83 / Your IP : 216.73.217.31 Web Server : Apache System : Linux dedi-13542965.clustter.com.br 5.14.0-687.20.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 30 06:22:49 EDT 2026 x86_64 User : jforte ( 1063) PHP Version : 8.2.32 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 : |
# POSIX sh(1) completion -*- shell-script -*-
_sh()
{
local cur prev words cword
_init_completion || return
case $prev in
-c)
return
;;
-o | +o)
COMPREPLY=($(compgen -W 'allexport errexit ignoreeof monitor
noclobber noglob noexec nolog notify nounset verbose vi
xtrace' -- "$cur"))
return
;;
esac
local opts="-a -b -C -e -f -h -i -m -n -o -u -v -x"
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W "$opts -c -s" -- "$cur"))
return
elif [[ $cur == +* ]]; then
COMPREPLY=($(compgen -W "${opts//-/+}" -- "$cur"))
return
fi
local args ext=
_count_args "" "@(-c|[-+]o)"
((args == 1)) && ext="sh"
_filedir $ext
} &&
complete -F _sh sh
# ex: filetype=sh