Merge branch 'lsblk-E-completion' of https://github.com/scop/util-linux
* 'lsblk-E-completion' of https://github.com/scop/util-linux: bash-completion: (lsblk) fix -E/-M arg (non-)completion
This commit is contained in:
commit
a7ca670346
|
@ -31,7 +31,7 @@ _lsblk_module()
|
|||
COMPREPLY=( $(compgen -P "$prefix" -W "${MAJOR:-""}" -S ',' -- $realcur) )
|
||||
return 0
|
||||
;;
|
||||
'-o'|'--output'|'-M'|'--dedup')
|
||||
'-o'|'--output'|'-E'|'--dedup')
|
||||
local prefix realcur LSBLK_COLS
|
||||
realcur="${cur##*,}"
|
||||
prefix="${cur%$realcur}"
|
||||
|
|
Loading…
Reference in New Issue