mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 13:23:27 -07:00
Updated msys2
This commit is contained in:
parent
6a85995508
commit
f0dc1ea8b0
13308 changed files with 689276 additions and 46605 deletions
|
@ -5,7 +5,11 @@ _fsck.cramfs_module()
|
|||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
case $prev in
|
||||
'-x'|'--destination')
|
||||
'-b'|'--blocksize')
|
||||
COMPREPLY=( $(compgen -W "size" -- $cur) )
|
||||
return 0
|
||||
;;
|
||||
'--extract')
|
||||
local IFS=$'\n'
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) )
|
||||
|
@ -15,8 +19,15 @@ _fsck.cramfs_module()
|
|||
return 0
|
||||
;;
|
||||
esac
|
||||
OPTS='--verbose --destination --help --version file'
|
||||
COMPREPLY=( $(compgen -W "${OPTS[*]}" -S ' ' -- $cur) )
|
||||
case $cur in
|
||||
-*)
|
||||
COMPREPLY=( $(compgen -W "--verbose --blocksize --extract --help --version" -- $cur) )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
local IFS=$'\n'
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $(compgen -f -- $cur) )
|
||||
return 0
|
||||
}
|
||||
complete -F _fsck.cramfs_module fsck.cramfs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue