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
|
@ -17,7 +17,7 @@ _slapt_get()
|
|||
esac
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1" --help)' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
[[ $COMPREPLY ]] && return
|
||||
fi
|
||||
|
@ -56,22 +56,22 @@ _slapt_get()
|
|||
# slapt-get will fail to search for "^name-version"
|
||||
# it can search for names only
|
||||
local name=${cur%%-*}
|
||||
COMPREPLY=( $( LC_ALL=C "$1" -c "$config" --search "^$name" 2> \
|
||||
/dev/null | LC_ALL=C command sed -ne "/^$cur/{s/ .*$//;p}" ) )
|
||||
COMPREPLY=( $(LC_ALL=C "$1" -c "$config" --search "^$name" \
|
||||
2>/dev/null | LC_ALL=C command sed -ne "/^$cur/{s/ .*$//;p}") )
|
||||
return
|
||||
;;
|
||||
avl) # --install|-i|
|
||||
COMPREPLY=( $( LC_ALL=C "$1" -c "$config" --available 2> \
|
||||
/dev/null | LC_ALL=C command sed -ne "/^$cur/{s/ .*$//;p}" ) )
|
||||
COMPREPLY=( $(LC_ALL=C "$1" -c "$config" --available \
|
||||
2>/dev/null | LC_ALL=C command sed -ne "/^$cur/{s/ .*$//;p}") )
|
||||
return
|
||||
;;
|
||||
ins) # --remove|--filelist
|
||||
COMPREPLY=( $( cd /var/log/packages; compgen -f -- "$cur" ) )
|
||||
COMPREPLY=( $(cd /var/log/packages; compgen -f -- "$cur") )
|
||||
return
|
||||
;;
|
||||
set) # --install-set
|
||||
COMPREPLY=( $( compgen -W 'a ap d e f k kde kdei l n t tcl x
|
||||
xap xfce y' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'a ap d e f k kde kdei l n t tcl x
|
||||
xap xfce y' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue