| Server IP : 37.9.174.138 / Your IP : 216.73.216.117 Web Server : Apache System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64 User : ftpuser ( 1001) PHP Version : 8.4.24 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 -*-
_comp_cmd_sh()
{
local cur prev words cword comp_args
_comp_initialize -- "$@" || return
case $prev in
-c)
return
;;
-o | +o)
_comp_compgen -- -W 'allexport errexit ignoreeof monitor noclobber
noglob noexec nolog notify nounset verbose vi xtrace'
return
;;
esac
local opts="-a -b -C -e -f -h -i -m -n -o -u -v -x"
if [[ $cur == -* ]]; then
_comp_compgen -- -W "$opts -c -s"
return
elif [[ $cur == +* ]]; then
_comp_compgen -- -W "${opts//-/+}"
return
fi
local REPLY ext=
_comp_count_args -a "@(-c|[-+]o)"
((REPLY == 1)) && ext="sh"
_comp_compgen_filedir $ext
} &&
complete -F _comp_cmd_sh sh
# ex: filetype=sh