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
|
@ -8,7 +8,7 @@ _cfrun()
|
|||
local i section=1
|
||||
for (( i=1; i < cword; i++ )); do
|
||||
if [[ "${words[i]}" == -- ]]; then
|
||||
section=$((section + 1))
|
||||
(( section++ ))
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -22,7 +22,7 @@ _cfrun()
|
|||
esac
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '-f -h -d -S -T -v' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '-f -h -d -S -T -v' -- "$cur") )
|
||||
else
|
||||
hostfile=${CFINPUTS:-/var/lib/cfengine/inputs}/cfrun.hosts
|
||||
for (( i=1; i < cword; i++ )); do
|
||||
|
@ -33,12 +33,12 @@ _cfrun()
|
|||
done
|
||||
[[ ! -f $hostfile ]] && return
|
||||
|
||||
COMPREPLY=( $(compgen -W "$( command grep -v \
|
||||
-E '(=|^$|^#)' $hostfile )" -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W "$(command grep -v \
|
||||
-E '(=|^$|^#)' $hostfile )" -- "$cur") )
|
||||
fi
|
||||
;;
|
||||
2)
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help cfagent )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help cfagent)' -- "$cur") )
|
||||
;;
|
||||
esac
|
||||
} &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue