mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 21:33:21 -07:00
Msys2 base update to msys2-base-x86_64-20210215
This commit is contained in:
parent
371b063635
commit
8f57ce888b
4308 changed files with 50038 additions and 28648 deletions
|
@ -9,28 +9,28 @@ _sh()
|
|||
-c)
|
||||
return
|
||||
;;
|
||||
-o|+o)
|
||||
COMPREPLY=( $(compgen -W 'allexport errexit ignoreeof monitor
|
||||
-o | +o)
|
||||
COMPREPLY=($(compgen -W 'allexport errexit ignoreeof monitor
|
||||
noclobber noglob noexec nolog notify nounset verbose vi
|
||||
xtrace' -- "$cur") )
|
||||
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") )
|
||||
if [[ $cur == -* ]]; then
|
||||
COMPREPLY=($(compgen -W "$opts -c -s" -- "$cur"))
|
||||
return
|
||||
elif [[ "$cur" == +* ]]; then
|
||||
COMPREPLY=( $(compgen -W "${opts//-/+}" -- "$cur") )
|
||||
elif [[ $cur == +* ]]; then
|
||||
COMPREPLY=($(compgen -W "${opts//-/+}" -- "$cur"))
|
||||
return
|
||||
fi
|
||||
|
||||
local args ext=
|
||||
_count_args "" "@(-c|[-+]o)"
|
||||
[[ $args -eq 1 ]] && ext=sh
|
||||
((args == 1)) && ext="sh"
|
||||
_filedir $ext
|
||||
} &&
|
||||
complete -F _sh sh
|
||||
complete -F _sh sh
|
||||
|
||||
# ex: filetype=sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue