mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 05:03:46 +08:00
04d7d89020
Of note: The rpm/yum thing seems to be coupled, so I put it into one function that tries the yum helper and uses the rpm path otherwise. Zypper is already its own thing, so this should only be used for yum and probably dnf (does that still have the helper?) Zypper can be dropped, as that already used a separate function in the file. Apk can just be inlined - it's literally one line for installed and another for all packages.
15 lines
749 B
Fish
15 lines
749 B
Fish
# Completions for xbps-fbulk
|
|
# Author: Allen Sobot <chilledfrogs@disroot.org>
|
|
|
|
set -l progname xbps-fbulk
|
|
|
|
complete -c $progname -f -a "(__fish_complete_directories) (__fish_print_xbps_packages)"
|
|
|
|
complete -c $progname -s a -d 'Set a different target architecture, useful for cross compiling.' -x
|
|
complete -c $progname -s j -d 'Set number of parallel builds running at the same time. By default set to 1.' -x
|
|
complete -c $progname -s l -d 'Set the log directory. By default set to `log. <pid>`.' -x
|
|
complete -c $progname -s d -d 'Enables extra debugging shown to stderr.'
|
|
complete -c $progname -s h -d 'Show the help message.'
|
|
complete -c $progname -s v -d 'Enables verbose messages.'
|
|
complete -c $progname -s V -d 'Show the version information.'
|