completions/fastboot: one item per line

This commit is contained in:
Johannes Altmanninger
2026-01-06 13:47:30 +01:00
parent d880a14b1a
commit 8d257f5c57

View File

@@ -15,10 +15,72 @@ function __fish_fastboot_list_partition_or_file
end
function __fish_fastboot_list_partition
set -l partitions abl aop aop_config apdp bluetooth boot countrycode cpucp cpucp_dtb crclist dcp ddr devcfg dsp dtbo featenabler hyp hyp_ac_config idmanager imagefv init_boot keymaster logfs metadata misc modem modemfirmware multiimgoem multiimgqti pdp pdp_cdb pvmfw qtvm_dtbo qupfw recovery rescue secretkeeper shrm soccp soccp_dcd soccp_debug sparsecrclist spuservice storsec super tme_config tme_fw tme_seq_patch toolsfv tz tz_ac_config tz_qti_config uefi uefisecapp userdata vbmeta vbmeta_system vendor_boot vm-bootsys xbl xbl_ac_config xbl_config xbl_ramdump xbl_sc_test_mode
for i in $partitions
echo $i
end
printf %s "\
abl
aop
aop_config
apdp
bluetooth
boot
countrycode
cpucp
cpucp_dtb
crclist
dcp
ddr
devcfg
dsp
dtbo
featenabler
hyp
hyp_ac_config
idmanager
imagefv
init_boot
keymaster
logfs
metadata
misc
modem
modemfirmware
multiimgoem
multiimgqti
pdp
pdp_cdb
pvmfw
qtvm_dtbo
qupfw
recovery
rescue
secretkeeper
shrm
soccp
soccp_dcd
soccp_debug
sparsecrclist
spuservice
storsec
super
tme_config
tme_fw
tme_seq_patch
toolsfv
tz
tz_ac_config
tz_qti_config
uefi
uefisecapp
userdata
vbmeta
vbmeta_system
vendor_boot
vm-bootsys
xbl
xbl_ac_config
xbl_config
xbl_ramdump
xbl_sc_test_mode
"
end
complete -c fastboot -s h -l help -d 'Show this message'