mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-21 05:43:26 -07:00
Updated msys2
This commit is contained in:
parent
6a85995508
commit
f0dc1ea8b0
13308 changed files with 689276 additions and 46605 deletions
|
@ -5,30 +5,27 @@ _mkfs.minix_module()
|
|||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
case $prev in
|
||||
'-i')
|
||||
'-i'|'--inodes')
|
||||
COMPREPLY=( $(compgen -W "inodes" -- $cur) )
|
||||
return 0
|
||||
;;
|
||||
'-l')
|
||||
COMPREPLY=( $(compgen -W "badblocks-file" -- $cur) )
|
||||
'-l'|'--badblocks')
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $(compgen -f -- $cur) )
|
||||
return 0
|
||||
;;
|
||||
'-n')
|
||||
COMPREPLY=( $(compgen -W "14 30" -- $cur) )
|
||||
return 0
|
||||
;;
|
||||
'-V'|'--version')
|
||||
'-n'|'--namelength')
|
||||
COMPREPLY=( $(compgen -W "14 30 60" -- $cur) )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
case $cur in
|
||||
-*)
|
||||
OPTS="-c -i -l -n -1 -2 -3"
|
||||
OPTS="--namelength --inodes --check --badblocks --help --version -1 -2 -3"
|
||||
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
local DEVS
|
||||
COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue