fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Fabian Homborg__fish_print_packages: Extract the rest04d7d8902

master
1.0 KiB19 linesraw
1# Completions for xbps-reconfigure
2# Author: Allen Sobot <chilledfrogs@disroot.org>
3
4set -l progname xbps-reconfigure
5
6set -l listinstalled "(__fish_print_xbps_packages -i)"
7
8complete -c $progname -f
9complete -c $progname -a "$listinstalled"
10
11complete -c $progname -s a -d 'Configures all packages.'
12complete -c $progname -s C -d 'Specifies a path to the XBPS configuration directory.' -xa "(__fish_complete_directories)"
13complete -c $progname -s d -d 'Enables extra debugging shown to stderr.'
14complete -c $progname -s f -d 'Forcefully reconfigure package even if it was configured previously.'
15complete -c $progname -s h -d 'Show the help message.'
16complete -c $progname -s i -n "__fish_contains_opt -s a" -d 'Ignore PKG when configuring all packages, can be specified multiple times.' -xa "$listinstalled"
17complete -c $progname -s r -d 'Specifies a path for the target root directory.' -xa "(__fish_complete_directories)"
18complete -c $progname -s v -d 'Enables verbose messages.'
19complete -c $progname -s V -d 'Show the version information.'