mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-14 02:27:03 -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
|
@ -13,7 +13,7 @@ _rcs()
|
|||
# deal with relative directory
|
||||
[[ $file == $dir ]] && dir=.
|
||||
|
||||
COMPREPLY=( $( compgen -f -- "$dir/RCS/$file" ) )
|
||||
COMPREPLY=( $(compgen -f -- "$dir/RCS/$file") )
|
||||
|
||||
for (( i=0; i < ${#COMPREPLY[@]}; i++ )); do
|
||||
file=${COMPREPLY[$i]##*/}
|
||||
|
@ -21,7 +21,7 @@ _rcs()
|
|||
COMPREPLY[$i]=$dir$file
|
||||
done
|
||||
|
||||
COMPREPLY+=( $( compgen -G "$dir/$file*,v" ) )
|
||||
COMPREPLY+=( $(compgen -G "$dir/$file*,v") )
|
||||
|
||||
for (( i=0; i < ${#COMPREPLY[@]}; i++ )); do
|
||||
COMPREPLY[$i]=${COMPREPLY[$i]%,v}
|
||||
|
@ -29,7 +29,7 @@ _rcs()
|
|||
|
||||
# default to files if nothing returned and we're checking in.
|
||||
# otherwise, default to directories
|
||||
[[ ${#COMPREPLY[@]} -eq 0 && $1 == ci ]] && _filedir || _filedir -d
|
||||
[[ ${#COMPREPLY[@]} -eq 0 && $1 == *ci ]] && _filedir || _filedir -d
|
||||
} &&
|
||||
complete -F _rcs ci co rlog rcs rcsdiff
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue