mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 05:13:25 -07:00
Updated msys2 to msys2-base-x86_64-20200903
This commit is contained in:
parent
5bc8dbdc75
commit
2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions
|
@ -1,30 +1,41 @@
|
|||
# freeciv client completions -*- shell-script -*-
|
||||
|
||||
_civclient()
|
||||
_freeciv()
|
||||
{
|
||||
local cur prev words cword
|
||||
_init_completion || return
|
||||
|
||||
case $prev in
|
||||
-l|-S|-t|--log|--Sound|--tiles)
|
||||
--help|--version|--name|--port|-[hvnp])
|
||||
return
|
||||
;;
|
||||
--file|--log|--music|--read|--Sound|--tiles|-[flmrSt])
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
-P|--Plugin)
|
||||
COMPREPLY=( $( compgen -W 'none esd sdl' -- "$cur" ) )
|
||||
--Announce|-A)
|
||||
COMPREPLY=( $(compgen -W 'IPv4 IPv6 none' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-s|--server)
|
||||
--debug|-d)
|
||||
COMPREPLY=( $(compgen -W '{0..3}' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--Meta|--server|-[Ms])
|
||||
_known_hosts_real -- "$cur"
|
||||
return
|
||||
;;
|
||||
--Plugin|-P)
|
||||
COMPREPLY=( $(compgen -W 'none esd sdl' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
|
||||
fi
|
||||
|
||||
} &&
|
||||
complete -F _civclient civclient freeciv-gtk2 freeciv-sdl freeciv-xaw
|
||||
complete -F _freeciv freeciv{,-{gtk{2,3},sdl,xaw}} civclient
|
||||
|
||||
# ex: filetype=sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue