_sboremove (524B)
1 #compdef sboremove 2 3 # sbotools: https://pink-mist.github.io/sbotools/ 4 5 # get all installed SBo packages 6 packages=( ${(uf)"$(ls /var/log/packages/*_SBo | cut -d'/' -f5 | rev | cut -d- -f4- | rev)"} ) 7 8 _arguments \ 9 - info \ 10 '(-)'{-h,--help}'[Show help]:' \ 11 '(-)'{-v,--version}'[Show version]:' \ 12 - commands \ 13 '(-a --alwaysask)'{-a,--alwaysask}'[Always ask to remove requirements (even if required by installed packages).]' \ 14 '(-)*:SlackBuild:(${packages:|words})' 15 16 # Local Variables: 17 # mode: sh 18 # End: